check in build scripts
authorJohn Kern <johnk@symbian.org>
Fri, 29 Jan 2010 09:09:35 -0800
changeset 59 9ffe5293bebc
parent 58 17e797bd6927
child 60 ad7b5602414f
check in build scripts
scripts/genBuildScripts.xml
scripts/hg.sh
scripts/hudson.sh
scripts/runAnt.sh
scripts/runGen.sh
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/scripts/genBuildScripts.xml	Fri Jan 29 09:09:35 2010 -0800
@@ -0,0 +1,10 @@
+<project >
+ <property name="buildDirectory" 
+	location="/home/symbian/workspace/wrttools-fc/wrttools" />
+ <property name="baseLocation" location="" /> 
+ <eclipse.buildScript 
+        elements="feature@org.symbian.tools.wrttools"
+        buildDirectory="${buildDirectory}"
+	pluginPath="/usr/eclipse/JEE/eclipse/plugins"
+ />
+</project>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/scripts/hg.sh	Fri Jan 29 09:09:35 2010 -0800
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+REPO_DIR=/usr/hg/wrttools/
+LOG_DIR=/var/log/mercurial 
+HG_CMD=/usr/local/bin/hg
+
+cd $REPO_DIR
+${HG_CMD} serve -d -A ${LOG_DIR}/accesslog$$ -E ${LOG_DIR}/errorlog$$ 
+# ${HG_CMD} serve
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/scripts/hudson.sh	Fri Jan 29 09:09:35 2010 -0800
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+export PATH=.:/usr/java/jdk1.6.0_18/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
+
+java -jar ~symbian/java/hudson.war
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/scripts/runAnt.sh	Fri Jan 29 09:09:35 2010 -0800
@@ -0,0 +1,11 @@
+#!/bin/sh
+PDE_ECLIPSE_DIR=/usr/eclipse
+PDE_VER=3.5.1.R35x_20090820
+EQUINOX_VER=1.0.201.R35x_v20090715
+BUILD_CONF_DIR=/home/symbian/workspace/wrttools-fc/wrttools/org.symbian.tools.wrttools.feature
+JAVA_CMD=/usr/java/jdk1.6.0_18/bin/java
+BUILD_FILE=${PDE_ECLIPSE_DIR}/plugins/org.eclipse.pde.build_${PDE_VER}/scripts/productBuild/productBuild.xml 
+
+cd ${BUILD_CONF_DIR}
+${JAVA_CMD} -jar ${PDE_ECLIPSE_DIR}/plugins/org.eclipse.equinox.launcher_${EQUINOX_VER}.jar -application org.eclipse.ant.core.antRunner -buildfile build.xml
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/scripts/runGen.sh	Fri Jan 29 09:09:35 2010 -0800
@@ -0,0 +1,8 @@
+#!/bin/sh
+ECLIPSE_DIR=/usr/eclipse
+PDE_VER=3.5.1.R35x_20090820
+EQUINOX_VER=1.0.201.R35x_v20090715
+JAVA_CMD=/usr/java/jdk1.6.0_18/bin/java
+
+${JAVA_CMD} -jar ${ECLIPSE_DIR}/plugins/org.eclipse.equinox.launcher_${EQUINOX_VER}.jar -application org.eclipse.ant.core.antRunner -buildfile ~/bin/genBuildScripts.xml
+