summaryrefslogtreecommitdiffstats
path: root/test/TestOneJar_InJar/jogamp01/one-jar/build.onejar.xml
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2013-10-01 22:41:55 +0200
committerSven Gothel <[email protected]>2013-10-01 22:41:55 +0200
commit01c5d59c5245068b0d005ccbb64f8d0aa5165f12 (patch)
tree75b61bd2c6ac9e927eb1ad412bf2fe4819a262b5 /test/TestOneJar_InJar/jogamp01/one-jar/build.onejar.xml
parentb05f716cbcbc379588050c8f3d91579b3a14ec88 (diff)
Bug 846: Add manual test case for One-Jar (using 0.97.1)
Note: One-Jar lacks support of a URL handler for it's jar-in-jar files and hence we would need to extract the jar-in-jar resources w/ our TempJarCache from one one-jar file .. too bad. Looks like it's incomplete.
Diffstat (limited to 'test/TestOneJar_InJar/jogamp01/one-jar/build.onejar.xml')
-rw-r--r--test/TestOneJar_InJar/jogamp01/one-jar/build.onejar.xml54
1 files changed, 54 insertions, 0 deletions
diff --git a/test/TestOneJar_InJar/jogamp01/one-jar/build.onejar.xml b/test/TestOneJar_InJar/jogamp01/one-jar/build.onejar.xml
new file mode 100644
index 0000000..8c41ade
--- /dev/null
+++ b/test/TestOneJar_InJar/jogamp01/one-jar/build.onejar.xml
@@ -0,0 +1,54 @@
+<project>
+ <!-- Capture essential paths for use by other projects -->
+ <property name="one-jar.version" value="0.97" />
+ <pathconvert targetos="unix" property="basedir.unix">
+ <path location="${basedir}"/>
+ </pathconvert>
+
+ <property name="one-jar.dir" value="${basedir}/../one-jar"/>
+ <property name="one-jar.dist.dir" value="${one-jar.dir}/dist" />
+ <property name="one-jar.build.ant" location="${one-jar.dir}/build/ant"/>
+
+ <!-- Commonly used relative paths. -->
+ <property name="classes" value="classes" />
+ <property name="lib" value="lib" />
+ <property name="src" value="src" />
+ <property name="test" value="test" />
+
+ <!-- Defaults: expected to be overridden as part of overall test suite for aggregation. -->
+ <property name="test.reports.dir" value="${basedir.unix}/test-reports"/>
+ <property name="test.results.dir" value="${basedir.unix}/test-results"/>
+
+ <import file="${one-jar.dist.dir}/one-jar-ant-task.xml" optional="true" />
+
+ <path id="one-jar.libraries">
+ <pathelement location="${one-jar.dir}/lib/junit-3.8.1.jar"/>
+ <pathelement location="${one-jar.dir}/dist/one-jar-boot-${one-jar.version}.jar"/>
+ <pathelement location="${one-jar.ant.jar}"/>
+ </path>
+
+ <path id="one-jar.test.libraries">
+ <pathelement location="${one-jar.dir}/lib/junit-3.8.1.jar"/>
+ <pathelement location="${classes.dir}/test" />
+ </path>
+
+ <target name="build.init">
+ <mkdir dir="build"/>
+ <mkdir dir="${test.reports.dir}"/>
+ <mkdir dir="${test.results.dir}"/>
+ </target>
+
+ <target name="junit.report">
+ <mkdir dir="${test.reports.dir}" />
+ <junitreport todir="${test.reports.dir}">
+ <fileset dir="${test.results.dir}" includes="*SelfTest*.xml,*Suite.xml" />
+ <report format="noframes" todir="${test.reports.dir}" />
+ </junitreport>
+ <echo>***********************************************</echo>
+ <echo>* Report is in ${test.reports.dir}/junit_noframes.html</echo>
+ <echo>***********************************************</echo>
+ </target>
+
+
+
+</project>