blob: e7c29e6130ea22579f7ba04d80ed637bbd673d45 [file] [log] [blame]
david_williams45dc8092010-05-07 05:59:42 +00001#!/usr/bin/env bash
2
3# finds file on users path, before current directory
4# hence, non-production users can set their own values for test machines
5source webtools.apps.shsource
6
7
8echo JAVA_EXEC_DIR: $JAVA_EXEC_DIR;
9echo ECLIPSE_HOME_36: $ECLIPSE_HOME_36;
10
11APP_NAME=org.eclipse.equinox.p2.director
12REPO_LOCATION="file:/${HOME}/download/webtools/releng/"
13REPO_ARGS="-metadataRepository ${REPO_LOCATION} -artifactRepository ${REPO_LOCATION}"
14IU_ARGS="-installIU org.eclipse.wt.releng.feature.feature.group"
15
16echo APP_NAME: ${APP_NAME}
17echo REPO_LOCATION: ${REPO_LOCATION}
18echo REPO_ARGS: ${REPO_ARGS}
19echo IU_ARGS: ${IU_ARGS}
20
21VM_ARGS="-vmargs -Xmx512m -Declipse.p2.mirrors=false"
22echo VMARGS: ${VM_ARGS}
23
24"${ECLIPSE_HOME_36}"/eclipse -consolelog -data ./workspace-getapp -debug -nosplash -vm "${JAVA_EXEC_DIR}" -application ${APP_NAME} ${REPO_ARGS} ${IU_ARGS} ${VM_ARGS}
25
26