--- a/scripts/runGen.sh Fri Jan 29 17:50:10 2010 -0800
+++ b/scripts/runGen.sh Mon Feb 01 12:06:14 2010 -0800
@@ -1,9 +1,14 @@
#!/bin/sh
+
+set -x
+
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
-WS_DIR=/home/symbian/scratch/029/wrttools
+ANT_SCRIPT=${1}
-${JAVA_CMD} -jar ${ECLIPSE_DIR}/plugins/org.eclipse.equinox.launcher_${EQUINOX_VER}.jar -application org.eclipse.ant.core.antRunner -buildfile ${WS_DIR}/scripts/genBuildScripts.xml
+${JAVA_CMD} -jar ${ECLIPSE_DIR}/plugins/org.eclipse.equinox.launcher_${EQUINOX_VER}.jar -application org.eclipse.ant.core.antRunner -buildfile ${ANT_SCRIPT}
+
+