summaryrefslogtreecommitdiffstats
path: root/test/TestOneJar_InJar/jogamp01/one-jar
diff options
context:
space:
mode:
Diffstat (limited to 'test/TestOneJar_InJar/jogamp01/one-jar')
-rw-r--r--test/TestOneJar_InJar/jogamp01/one-jar/build.onejar.xml54
-rw-r--r--test/TestOneJar_InJar/jogamp01/one-jar/dist/one-jar-ant-task-0.97.jarbin0 -> 92003 bytes
-rw-r--r--test/TestOneJar_InJar/jogamp01/one-jar/dist/one-jar-ant-task.xml10
-rw-r--r--test/TestOneJar_InJar/jogamp01/one-jar/dist/one-jar-boot-0.97.jarbin0 -> 69299 bytes
-rw-r--r--test/TestOneJar_InJar/jogamp01/one-jar/lib/junit-3.8.1.jarbin0 -> 121070 bytes
5 files changed, 64 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>
diff --git a/test/TestOneJar_InJar/jogamp01/one-jar/dist/one-jar-ant-task-0.97.jar b/test/TestOneJar_InJar/jogamp01/one-jar/dist/one-jar-ant-task-0.97.jar
new file mode 100644
index 0000000..15dbbb2
--- /dev/null
+++ b/test/TestOneJar_InJar/jogamp01/one-jar/dist/one-jar-ant-task-0.97.jar
Binary files differ
diff --git a/test/TestOneJar_InJar/jogamp01/one-jar/dist/one-jar-ant-task.xml b/test/TestOneJar_InJar/jogamp01/one-jar/dist/one-jar-ant-task.xml
new file mode 100644
index 0000000..007b5ad
--- /dev/null
+++ b/test/TestOneJar_InJar/jogamp01/one-jar/dist/one-jar-ant-task.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<project>
+ <!-- The following property is expected to be overridden by caller -->
+ <property name="one-jar.dist.dir" value="./dist"/>
+ <property name="one-jar.version" value="0.97"/>
+ <property name="one-jar.ant.jar" value="${one-jar.dist.dir}/one-jar-ant-task-${one-jar.version}.jar"/>
+ <taskdef name="one-jar" classname="com.simontuffs.onejar.ant.OneJarTask"
+ classpath="${one-jar.ant.jar}" onerror="report"/>
+
+</project>
diff --git a/test/TestOneJar_InJar/jogamp01/one-jar/dist/one-jar-boot-0.97.jar b/test/TestOneJar_InJar/jogamp01/one-jar/dist/one-jar-boot-0.97.jar
new file mode 100644
index 0000000..26e0ec6
--- /dev/null
+++ b/test/TestOneJar_InJar/jogamp01/one-jar/dist/one-jar-boot-0.97.jar
Binary files differ
diff --git a/test/TestOneJar_InJar/jogamp01/one-jar/lib/junit-3.8.1.jar b/test/TestOneJar_InJar/jogamp01/one-jar/lib/junit-3.8.1.jar
new file mode 100644
index 0000000..674d71e
--- /dev/null
+++ b/test/TestOneJar_InJar/jogamp01/one-jar/lib/junit-3.8.1.jar
Binary files differ