diff options
author | aclement <aclement> | 2004-04-07 13:06:09 +0000 |
---|---|---|
committer | aclement <aclement> | 2004-04-07 13:06:09 +0000 |
commit | 546b131e21c10f5683efb153bfb3da42ab8f8238 (patch) | |
tree | eb3ce9bf3ca432e15c82113a666b8b49eee41b95 /tests/bugs | |
parent | f3916048a7d49f4a2e6ff44c154d04a7045a817d (diff) | |
download | aspectj-546b131e21c10f5683efb153bfb3da42ab8f8238.tar.gz aspectj-546b131e21c10f5683efb153bfb3da42ab8f8238.zip |
Some of the fix for Bugzilla Bug 57432
NPE when creating declare messages
[Modified XML to build debug/nondebug variants of the library]
Diffstat (limited to 'tests/bugs')
-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> |