summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNick Boldt2006-05-09 14:44:57 (EDT)
committerNick Boldt2006-05-09 14:44:57 (EDT)
commit3e47e9838701fb7ed3734cd8921390dd70416ec7 (patch)
tree3cc8050b09aa2eecb833737544fd88ce5e96b4e9
parentb5a8710295232a34b055d3f8c7828486476ce2e0 (diff)
downloadcdo-3e47e9838701fb7ed3734cd8921390dd70416ec7.zip
cdo-3e47e9838701fb7ed3734cd8921390dd70416ec7.tar.gz
cdo-3e47e9838701fb7ed3734cd8921390dd70416ec7.tar.bz2
*** empty log message ***
-rw-r--r--plugins/org.eclipse.net4j.tests/test.xml13
1 files changed, 9 insertions, 4 deletions
diff --git a/plugins/org.eclipse.net4j.tests/test.xml b/plugins/org.eclipse.net4j.tests/test.xml
index 194c5dd..16fb3ac 100644
--- a/plugins/org.eclipse.net4j.tests/test.xml
+++ b/plugins/org.eclipse.net4j.tests/test.xml
@@ -71,6 +71,7 @@
<property name="classname" value="org.eclipse.net4j.tests.AllSuites"/>
<property name="vmargs" value="${core.test.vmargs}"/>
</ant>
+ <available property="xml.exists" file="${eclipse-home}/${plugin-name}.xml"/>
</target>
<!-- This target holds code to cleanup the testing environment after -->
@@ -82,10 +83,14 @@
<!-- This target runs the test suite. Any actions that need to happen -->
<!-- after all the tests have been run should go here. -->
<target name="run" depends="init,suite,cleanup">
- <ant target="collect" antfile="${library-file}" dir="${eclipse-home}">
- <property name="includes" value="org*.xml"/>
- <property name="output-file" value="${plugin-name}.xml"/>
- </ant>
+ <antcall target="doCollect" if="xml.exists"/>
+ </target>
+
+ <target name="doCollect">
+ <ant target="collect" antfile="${library-file}" dir="${eclipse-home}">
+ <property name="includes" value="org*.xml"/>
+ <property name="output-file" value="${plugin-name}.xml"/>
+ </ant>
</target>
</project>