provide win32 and macosx tarballs.
authorJohn Kern <johnk@symbian.org>
Wed, 03 Feb 2010 08:22:09 -0800
changeset 91 ca4b5c63386b
parent 90 278f8e3868ff
child 92 e5c37ce1b003
child 93 09a6fe298c93
provide win32 and macosx tarballs.
scripts/buildcron
scripts/shepard.sh
--- a/scripts/buildcron	Tue Feb 02 17:20:45 2010 -0800
+++ b/scripts/buildcron	Wed Feb 03 08:22:09 2010 -0800
@@ -1,5 +1,5 @@
-# mail any output to ‘paul’, no matter whose crontab this is
+# mail any output to ‘johnk’, no matter whose crontab this is
 MAILTO=johnk@symbian.org
 # run at 1 am 
-0 1 * * 0-5  sh /home/symbian/wrttools/scripts/shepard.sh > /home/symbian/scratch/build-`date +%j`.out 2>&1
+0 1 * * 0-5  /bin/sh /home/symbian/wrttools/scripts/shepard.sh > /home/symbian/scratch/build-`date +%j`.out 2>&1
 
--- a/scripts/shepard.sh	Tue Feb 02 17:20:45 2010 -0800
+++ b/scripts/shepard.sh	Wed Feb 03 08:22:09 2010 -0800
@@ -7,11 +7,15 @@
 DAY_OF_YEAR=`date +%j`
 HG_CMD=/usr/local/bin/hg
 
+export PATH=.:/usr/java/jdk1.6.0_18/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
+
 export WS_DIR=${BUILD_DIR}/${DAY_OF_YEAR}/workspace/wrttools
 LINUX_PROD_DIR=${BUILD_DIR}/${DAY_OF_YEAR}/linux
 LINUX_EXPORT_DIR=/home/symbian/scratch/025
 WIN32_PROD_DIR=${BUILD_DIR}/${DAY_OF_YEAR}/win32
+WIN32_EXPORT_DIR=/home/symbian/buildsFromEugene/win32.win32.x86
 MACOSX_PROD_DIR=${BUILD_DIR}/${DAY_OF_YEAR}/macosx
+MACOSX_EXPORT_DIR=/home/symbian/buildsFromEugene/macosx.cocoa.x86
 
 # display date and time 
 date
@@ -44,5 +48,31 @@
 
 # package it up. 
 
-tar -czvf  ${LINUX_PROD_DIR}/webruntime.linux.tar ${LINUX_PROD_DIR}/eclipse/
+cd ${LINUX_PROD_DIR}
+tar -czvf webruntime.linux.tar eclipse
+
+# Mac OSX
+cp -pr ${MACOSX_EXPORT_DIR}/eclipse ${MACOSX_PROD_DIR}
+for j in `find ${WS_DIR} -name 'org.chromium*.jar' -o -name 'org.symbian*.jar'`
+do  
+	cp -p $j ${MACOSX_PROD_DIR}/eclipse/plugins/
+done
+cp -p ${SCRIPTS_DIR}/supporting/* ${MACOSX_PROD_DIR}/eclipse/
 
+# package it up. 
+cd ${MACOSX_PROD_DIR}
+tar -czvf  webruntime.macosx.tar eclipse
+
+# Win32
+cp -pr ${WIN32_EXPORT_DIR}/eclipse ${WIN32_PROD_DIR}
+for j in `find ${WS_DIR} -name 'org.chromium*.jar' -o -name 'org.symbian*.jar'`
+do  
+	cp -p $j ${WIN32_PROD_DIR}/eclipse/plugins/
+done
+cp -p ${SCRIPTS_DIR}/supporting/* ${WIN32_PROD_DIR}/eclipse/
+
+# package it up. 
+
+cd ${WIN32_PROD_DIR}
+tar -czvf  webruntime.win32.tar eclipse
+