diff options
author | nash <nash@13f79535-47bb-0310-9956-ffa450edef68> | 2010-09-22 12:22:04 +0000 |
---|---|---|
committer | nash <nash@13f79535-47bb-0310-9956-ffa450edef68> | 2010-09-22 12:22:04 +0000 |
commit | ed6e8d2b87922f9ef88100b2035aa31193474b08 (patch) | |
tree | 8db76b83a8333fe67e8d893468f82faf33296344 /sca-java-1.x/branches/sca-java-1.6.1/samples/helloworld-bpel/build.xml | |
parent | 980ac2ee3b3af0b98b1d95d5b4e3be1915e17a98 (diff) |
Unzip files to target/database and target/classes before running sample (see TUSCANY-1994)
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@999904 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-1.x/branches/sca-java-1.6.1/samples/helloworld-bpel/build.xml')
-rw-r--r-- | sca-java-1.x/branches/sca-java-1.6.1/samples/helloworld-bpel/build.xml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sca-java-1.x/branches/sca-java-1.6.1/samples/helloworld-bpel/build.xml b/sca-java-1.x/branches/sca-java-1.6.1/samples/helloworld-bpel/build.xml index cebb8a4110..8a3edcf60a 100644 --- a/sca-java-1.x/branches/sca-java-1.6.1/samples/helloworld-bpel/build.xml +++ b/sca-java-1.x/branches/sca-java-1.6.1/samples/helloworld-bpel/build.xml @@ -56,7 +56,7 @@ <unzip src="../../lib/ode-dao-jpa-ojpa-derby-1.1.1.zip" dest="target/database"/> </target> - <target name="compile" depends="init,generate-wsdl,unzip-ode-db"> + <target name="compile" depends="init,generate-wsdl"> <javac destdir="target/classes" debug="on" source="1.5" target="1.5"> <src path="src/main/java"/> <src path="target/wsdl2java-source"/> @@ -74,7 +74,8 @@ </jar> </target> - <target name="run"> + <target name="run" depends="unzip-ode-db"> + <unzip src="target/${test.jar}" dest="target/classes"/> <java classname="${test.class}" fork="true"> <!-- jvmarg value="-Xdebug"/ --> <!-- jvmarg value="-Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=y"/ --> |