summaryrefslogtreecommitdiffstats
path: root/sca-java-1.x/branches/sca-java-travelsample-1.0
diff options
context:
space:
mode:
authornash <nash@13f79535-47bb-0310-9956-ffa450edef68>2010-05-19 19:02:33 +0000
committernash <nash@13f79535-47bb-0310-9956-ffa450edef68>2010-05-19 19:02:33 +0000
commit6c7c59219ccfccb587c32d86b5723df48b5d07fb (patch)
tree2217467e6f7697ce04c41003f94a582fe1d89c1e /sca-java-1.x/branches/sca-java-travelsample-1.0
parentcede3c5b59b2c7b9a220d9135646861f0524008b (diff)
Change names of run-test-setup property and test-setup task
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@946340 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-1.x/branches/sca-java-travelsample-1.0')
-rw-r--r--sca-java-1.x/branches/sca-java-travelsample-1.0/antdefs.xml11
-rw-r--r--sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/payment-bpel/build.xml4
2 files changed, 9 insertions, 6 deletions
diff --git a/sca-java-1.x/branches/sca-java-travelsample-1.0/antdefs.xml b/sca-java-1.x/branches/sca-java-travelsample-1.0/antdefs.xml
index 8c5de5d99e..b7367e9d57 100644
--- a/sca-java-1.x/branches/sca-java-travelsample-1.0/antdefs.xml
+++ b/sca-java-1.x/branches/sca-java-travelsample-1.0/antdefs.xml
@@ -38,6 +38,8 @@
JAXWS_HOME (only if using JDK 5) A directory containing the JAX-WS
reference implementation. This build file has been tested with
the JAX-WS RI version 2.1.7.
+ OPENEJB_HOME A directory containing the OpenEJB binary distribution.
+ This build file has been tested with OpenEJB 3.1.2.
This file defines the following targets that can be used on the
ant command that invokes the build.xml file:
@@ -60,7 +62,7 @@
the contents of this path are used for compiling and running the
unit tests. In addition, the "compile-path" setting (if specified)
is used for running unit tests. If the build.xml file defines the
- "test-setup" property, the "testsetup" target in the build.xml
+ "run-test-setup" property, the "test-setup" target in the build.xml
file is invoked after copying the test resources.
"package" Creates a jar file containing the compiled Java class
files (excluding unit test code) and any files in or under the
@@ -377,8 +379,8 @@
</target>
<!-- perform additional test setup if required -->
- <target name="#test-setup" if="test-setup">
- <antcall target="testsetup"/>
+ <target name="#run-test-setup" if="run-test-setup">
+ <antcall target="test-setup"/>
</target>
<!-- check whether a dependency path for the unit tests was specified -->
@@ -728,13 +730,14 @@
<mkdir dir="target/test-classes"/>
<antcall target="#test-compile"/>
<antcall target="#copy-testresources"/>
- <antcall target="#test-setup"/>
+ <antcall target="#run-test-setup"/>
<antcall target="#run-junit"/>
</target>
<!-- for external use on the ant command line -->
<target name="package">
<echo message="Packaging project ${ant.project.name}"/>
+ <antcall target="#pre-package"/>
<antcall target="#build-package"/>
</target>
diff --git a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/payment-bpel/build.xml b/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/payment-bpel/build.xml
index 29e317cf4d..e2d2bb7326 100644
--- a/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/payment-bpel/build.xml
+++ b/sca-java-1.x/branches/sca-java-travelsample-1.0/contributions/payment-bpel/build.xml
@@ -38,8 +38,8 @@
</antcall>
</target>
- <property name="test-setup" value="yes"/>
- <target name="testsetup">
+ <property name="run-test-setup" value="true"/>
+ <target name="test-setup">
<unzip dest="target/test-classes">
<fileset dir="${env.TUSCANY_HOME}/lib">
<include name="ode-dao-jpa-ojpa-derby-*.zip"/>