blob: 2b184be68a93e4d07c9418219bfb27805efff1d7 [file] [log] [blame]
david_williams5da7bc22010-07-29 15:41:22 +00001#!/usr/bin/env bash
2
david_williamse57ca042010-10-18 20:43:23 +00003# no longer used. left here as an example.
david_williams5da7bc22010-07-29 15:41:22 +00004
5APP_NAME=org.eclipse.equinox.p2.publisher.CategoryPublisher
6
7devworkspace=./workspace
8
david_williamsa6564532011-08-13 19:47:29 +00009JAVA_5_HOME=/shared/webtools/apps/ibm-java2-i386-50
10JAVA_6_HOME=/shared/webtools/apps/ibm-java-i386-60
david_williams6efe3102010-09-22 20:12:17 +000011export JAVA_HOME=${JAVA_6_HOME}
david_williams5da7bc22010-07-29 15:41:22 +000012devJRE=$JAVA_HOME/jre/bin/java
13
david_williams6efe3102010-09-22 20:12:17 +000014ibmDevArgs="-Xms128M -Xmx256M -Dosgi.ws=gtk -Dosgi.os=linux -Dosgi.arch=x86"
david_williamsb1d192d2010-08-23 15:24:04 +000015
16DROPDIR="/home/data/httpd/download.eclipse.org/webtools/downloads/drops/R3.2.0/R-3.2.0-20100615235519"
david_williams5da7bc22010-07-29 15:41:22 +000017
18APP_ARGS="\
david_williams13728952010-09-03 04:38:08 +000019-metadataRepository file:/${DROPDIR}/repositoryb/ \
20-artifactRepository file:/${DROPDIR}/repositoryb/ \
david_williams32dd81a2010-09-03 04:13:08 +000021-categoryDefinition file:/${PWD}/wtp320category.xml \
david_williams5da7bc22010-07-29 15:41:22 +000022-categoryQualifier \
23-compress"
24
25# remember, the '&' should NOT be unescaped here ... the p2 api (or underlying xml) will escape it.
26devArgs="$ibmDevArgs"
27
28echo "dev: " $0
29echo
30echo "devworkspace: " $devworkspace
31echo
32echo "devJRE: " $devJRE
33echo
34echo "devArgs: " $devArgs
35echo
36echo "APP_NAME: " $APP_NAME
37echo "APP_ARGS: " ${APP_ARGS}
38
39$devJRE -version
40
41
42echo
43
david_williams5bd19e22010-09-22 20:19:45 +000044ECLIPSE_INSTALL=/shared/webtools/apps/eclipse361/eclipse
david_williams5da7bc22010-07-29 15:41:22 +000045
46$ECLIPSE_INSTALL/eclipse -debug -nosplash -consolelog -console -data $devworkspace --launcher.suppressErrors -application ${APP_NAME} ${APP_ARGS} -vm $devJRE -vmargs $devArgs
47