From de6322ba9cc997cda01596d337f44c00cf636183 Mon Sep 17 00:00:00 2001
From: Vivian Kong <vivkong@ca.ibm.com>
Date: Fri, 24 Sep 2010 17:50:07 +0000
Subject: [PATCH] update build scripts for new bulid.eclipse.org machine

---
 releng/org.eclipse.cdt.releng/build.sh  | 6 +++---
 releng/org.eclipse.cdt.releng/build.xml | 4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/releng/org.eclipse.cdt.releng/build.sh b/releng/org.eclipse.cdt.releng/build.sh
index 4cd2cad4d1d..c22392ca201 100644
--- a/releng/org.eclipse.cdt.releng/build.sh
+++ b/releng/org.eclipse.cdt.releng/build.sh
@@ -16,7 +16,7 @@
 export DISPLAY=:1
 
 # set up to use the Java 5 JRE
-export PATH=/opt/public/common/ibm-java-ppc-605/bin:/usr/local/bin:$PATH
+export PATH=/opt/public/common/jdk-1.5.0_16/bin:/usr/local/bin:$PATH
 #export PATH=/opt/public/common/ibm-java2-ppc-50/bin/java:/usr/local/bin:$PATH
 
 # make sure we're in the releng project dir 
@@ -32,5 +32,5 @@ cd ..
 
 # Let's go!
 java $CDT_BUILD_VMARGS -jar tools/org.eclipse.releng.basebuilder/plugins/org.eclipse.equinox.launcher.jar \
-	-Djvm1.5=/opt/public/common/ibm-java2-ppc-50/bin/java \
-	-ws gtk -arch ppc -os linux -application org.eclipse.ant.core.antRunner $*
+	-Djvm1.5=/opt/public/common/jdk-1.5.0_16/bin/java \
+	-ws gtk -arch x86_64 -os linux -application org.eclipse.ant.core.antRunner $*
diff --git a/releng/org.eclipse.cdt.releng/build.xml b/releng/org.eclipse.cdt.releng/build.xml
index 49300d96adb..b4ab9a22f2e 100644
--- a/releng/org.eclipse.cdt.releng/build.xml
+++ b/releng/org.eclipse.cdt.releng/build.xml
@@ -303,7 +303,7 @@
 	</target>
 	
 	<target name="update.index.html" depends="init" unless="hasErrors">
-		<property name="copyToDir" value="/home/www/tools/cdt/builds/${branchVersion}"/>
+		<property name="copyToDir" value="/home/data/httpd/download.eclipse.org/tools/cdt/builds/${branchVersion}"/>
 		<replace file="${copyToDir}/index.html">
 			<replacetoken><![CDATA[  <!-- add here -->]]></replacetoken>
 			<replacevalue><![CDATA[  <!-- add here -->
@@ -319,7 +319,7 @@
 	</target>
 	
 	<target name="copy" depends="init" unless="hasErrors">
-		<property name="copyToDir" value="/home/www/tools/cdt/builds/${branchVersion}"/>
+		<property name="copyToDir" value="/home/data/httpd/download.eclipse.org/tools/cdt/builds/${branchVersion}"/>
 		<mkdir dir="${copyToDir}/${buildType}.${buildId}"/>
 		<copy todir="${copyToDir}/${buildType}.${buildId}">
 			<fileset dir="${buildDirectory}/${buildType}.${buildId}"/>