Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'releng/org.eclipse.cdt.releng/build.sh')
-rw-r--r--releng/org.eclipse.cdt.releng/build.sh14
1 files changed, 13 insertions, 1 deletions
diff --git a/releng/org.eclipse.cdt.releng/build.sh b/releng/org.eclipse.cdt.releng/build.sh
index b1120d40838..0e5b70f6e07 100644
--- a/releng/org.eclipse.cdt.releng/build.sh
+++ b/releng/org.eclipse.cdt.releng/build.sh
@@ -1 +1,13 @@
-java -classpath $JAVA_HOME/lib/tools.jar:jars/ant.jar:jars/optional.jar:jars/xalan.jar:jars/xml-apis.jar:jars/xercesImpl.jar:jars/NetComponents.jar:jars/activation.jar:jars/mail.jar org.apache.tools.ant.Main $* 2>&1 | tee build.log
+# Treat this is an example build script
+# Please adjust paths as necessary for your build machine
+
+export JAVA_HOME=/opt/java/j2sdk1.4.2_03
+export PATH=$JAVA_HOME/bin:$PATH
+
+cd `dirname $0`
+
+rm -fr results
+
+java -cp eclipse/startup.jar org.eclipse.core.launcher.Main -application org.eclipse.ant.core.antRunner $* \
+ -DbaseLocation=$PWD/eclipse \
+ -DbuildDirectory=$PWD/results

Back to the top