diff options
-rw-r--r-- | tests/bugs/systemouts/injar-debug.jar | bin | 0 -> 897 bytes | |||
-rw-r--r-- | tests/bugs/systemouts/injar-nodebug.jar | bin | 0 -> 653 bytes | |||
-rw-r--r-- | tests/bugs/systemouts/src/build.xml | 31 |
3 files changed, 27 insertions, 4 deletions
diff --git a/tests/bugs/systemouts/injar-debug.jar b/tests/bugs/systemouts/injar-debug.jar Binary files differnew file mode 100644 index 000000000..695d214ae --- /dev/null +++ b/tests/bugs/systemouts/injar-debug.jar diff --git a/tests/bugs/systemouts/injar-nodebug.jar b/tests/bugs/systemouts/injar-nodebug.jar Binary files differnew file mode 100644 index 000000000..64140400d --- /dev/null +++ b/tests/bugs/systemouts/injar-nodebug.jar diff --git a/tests/bugs/systemouts/src/build.xml b/tests/bugs/systemouts/src/build.xml index 065fcf4e2..61d266601 100644 --- a/tests/bugs/systemouts/src/build.xml +++ b/tests/bugs/systemouts/src/build.xml @@ -1,6 +1,28 @@ -<project name="extdirs-setup" basedir="." default="injar.jar"> +<project name="extdirs-setup" basedir="." default="jars"> - <target name="injar.jar"> + +<target name="jars" depends="debugjar,nondebugjar"/> + + <target name="nondebugjar"> + <property + name="classes.dir" + location="${basedir}/../classes"/> + + <mkdir dir="${classes.dir}"/> + <delete dir="${classes.dir}"/> + <mkdir dir="${classes.dir}"/> + <javac + destdir="${classes.dir}" + includes="pack/X.java" + srcdir="${basedir}"/> + <zip + destfile="${basedir}/../injar-nodebug.jar"> + <fileset dir="${classes.dir}"/> + </zip> + <delete dir="${classes.dir}"/> + </target> + + <target name="debugjar"> <property name="classes.dir" location="${basedir}/../classes"/> @@ -11,12 +33,13 @@ <javac destdir="${classes.dir}" includes="pack/X.java" + debug="on" srcdir="${basedir}"/> <zip - destfile="${basedir}/../injar.jar"> + destfile="${basedir}/../injar-debug.jar"> <fileset dir="${classes.dir}"/> </zip> <delete dir="${classes.dir}"/> </target> -</project>
\ No newline at end of file +</project> |