1.1 --- a/samples/reexport/build.xml Sat Jun 14 09:55:09 2008 +0200
1.2 +++ b/samples/reexport/build.xml Sat Jun 14 18:51:38 2008 +0200
1.3 @@ -47,6 +47,7 @@
1.4 <param name="version" value="api2.0"/>
1.5 <param name="queryversion" value="query"/>
1.6 <param name="test" value="test"/>
1.7 + <param name="skip.execution" value="test-sys-prop.no.failures"/>
1.8 </antcall>
1.9 <echo level="info" message="Running the Test against Wrapping Query 1.0. This should succeeds."/>
1.10 <antcall target="-run-one">
1.11 @@ -70,7 +71,7 @@
1.12 <property name="junit.jar" location="../libs/dist/junit-4.4.jar"/>
1.13 </target>
1.14
1.15 - <target name="-run-one">
1.16 + <target name="-run-one" unless="${skip.execution}">
1.17 <fail message="You need to specify API version number" unless="version"/>
1.18 <mkdir dir="build/${test}results"/>
1.19 <junit dir="build/${test}/classes" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" showoutput="true">
1.20 @@ -85,6 +86,10 @@
1.21 <path location="build/${test}/classes"/>
1.22 <path location="${junit.jar}"/>
1.23 </classpath>
1.24 + <syspropertyset>
1.25 + <propertyref prefix="test-sys-prop."/>
1.26 + <mapper from="test-sys-prop.*" to="*" type="glob"/>
1.27 + </syspropertyset>
1.28 <formatter type="brief" usefile="false"/>
1.29 <formatter type="xml"/>
1.30 </junit>
1.31 @@ -100,6 +105,7 @@
1.32 destdir="build/${version}/classes"
1.33 source="1.5" target="1.5"
1.34 classpath="${cp}"
1.35 + debug="true"
1.36 />
1.37 </target>
1.38 </project>