scripts/runAnt.sh
author Eugene Ostroukhov <eugeneo@symbian.org>
Thu, 29 Jul 2010 10:00:34 -0700
changeset 458 5ff93668b08c
parent 78 25813fb4bf1c
permissions -rw-r--r--
Emulator deployment was added
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
59
9ffe5293bebc check in build scripts
John Kern <johnk@symbian.org>
parents:
diff changeset
     1
#!/bin/sh
65
6bec0231e8d2 added script to drive the builds. updated others to accept parameters
John Kern <johnk@symbian.org>
parents: 62
diff changeset
     2
6bec0231e8d2 added script to drive the builds. updated others to accept parameters
John Kern <johnk@symbian.org>
parents: 62
diff changeset
     3
set -x 
6bec0231e8d2 added script to drive the builds. updated others to accept parameters
John Kern <johnk@symbian.org>
parents: 62
diff changeset
     4
59
9ffe5293bebc check in build scripts
John Kern <johnk@symbian.org>
parents:
diff changeset
     5
PDE_ECLIPSE_DIR=/usr/eclipse
9ffe5293bebc check in build scripts
John Kern <johnk@symbian.org>
parents:
diff changeset
     6
PDE_VER=3.5.1.R35x_20090820
9ffe5293bebc check in build scripts
John Kern <johnk@symbian.org>
parents:
diff changeset
     7
EQUINOX_VER=1.0.201.R35x_v20090715
65
6bec0231e8d2 added script to drive the builds. updated others to accept parameters
John Kern <johnk@symbian.org>
parents: 62
diff changeset
     8
WS_DIR=$1
62
040d2c998a7b source level most be provided on command line; work is variable
John Kern <johnk@symbian.org>
parents: 59
diff changeset
     9
BUILD_CONF_DIR=${WS_DIR}/org.symbian.tools.wrttools.feature
59
9ffe5293bebc check in build scripts
John Kern <johnk@symbian.org>
parents:
diff changeset
    10
JAVA_CMD=/usr/java/jdk1.6.0_18/bin/java
9ffe5293bebc check in build scripts
John Kern <johnk@symbian.org>
parents:
diff changeset
    11
BUILD_FILE=${PDE_ECLIPSE_DIR}/plugins/org.eclipse.pde.build_${PDE_VER}/scripts/productBuild/productBuild.xml 
9ffe5293bebc check in build scripts
John Kern <johnk@symbian.org>
parents:
diff changeset
    12
9ffe5293bebc check in build scripts
John Kern <johnk@symbian.org>
parents:
diff changeset
    13
cd ${BUILD_CONF_DIR}
78
25813fb4bf1c build linux product
John Kern <johnk@symbian.org>
parents: 65
diff changeset
    14
${JAVA_CMD} -jar ${PDE_ECLIPSE_DIR}/plugins/org.eclipse.equinox.launcher_${EQUINOX_VER}.jar -application org.eclipse.ant.core.antRunner  -buildfile build.xml
59
9ffe5293bebc check in build scripts
John Kern <johnk@symbian.org>
parents:
diff changeset
    15