diff options
author | nash <nash@13f79535-47bb-0310-9956-ffa450edef68> | 2010-05-19 22:12:00 +0000 |
---|---|---|
committer | nash <nash@13f79535-47bb-0310-9956-ffa450edef68> | 2010-05-19 22:12:00 +0000 |
commit | 79e07dec02a48f4f2bb89f1a69c736c602422c67 (patch) | |
tree | 721d698cec542106368ce0d0a83a6a7074277bbf /sca-java-1.x/trunk/tutorials | |
parent | df816f6ece38eebc76a6513900c66ef02311d915 (diff) |
Merge revision r946340 from 1.0 release branch
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@946456 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-1.x/trunk/tutorials')
-rw-r--r-- | sca-java-1.x/trunk/tutorials/travelsample/antdefs.xml | 11 | ||||
-rw-r--r-- | sca-java-1.x/trunk/tutorials/travelsample/contributions/payment-bpel/build.xml | 4 |
2 files changed, 9 insertions, 6 deletions
diff --git a/sca-java-1.x/trunk/tutorials/travelsample/antdefs.xml b/sca-java-1.x/trunk/tutorials/travelsample/antdefs.xml index 8c5de5d99e..b7367e9d57 100644 --- a/sca-java-1.x/trunk/tutorials/travelsample/antdefs.xml +++ b/sca-java-1.x/trunk/tutorials/travelsample/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/trunk/tutorials/travelsample/contributions/payment-bpel/build.xml b/sca-java-1.x/trunk/tutorials/travelsample/contributions/payment-bpel/build.xml index 29e317cf4d..e2d2bb7326 100644 --- a/sca-java-1.x/trunk/tutorials/travelsample/contributions/payment-bpel/build.xml +++ b/sca-java-1.x/trunk/tutorials/travelsample/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"/>
|