aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs
diff options
context:
space:
mode:
authoraclement <aclement>2004-04-07 13:06:09 +0000
committeraclement <aclement>2004-04-07 13:06:09 +0000
commit546b131e21c10f5683efb153bfb3da42ab8f8238 (patch)
treeeb3ce9bf3ca432e15c82113a666b8b49eee41b95 /tests/bugs
parentf3916048a7d49f4a2e6ff44c154d04a7045a817d (diff)
downloadaspectj-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.jarbin0 -> 897 bytes
-rw-r--r--tests/bugs/systemouts/injar-nodebug.jarbin0 -> 653 bytes
-rw-r--r--tests/bugs/systemouts/src/build.xml31
3 files changed, 27 insertions, 4 deletions
diff --git a/tests/bugs/systemouts/injar-debug.jar b/tests/bugs/systemouts/injar-debug.jar
new file mode 100644
index 000000000..695d214ae
--- /dev/null
+++ b/tests/bugs/systemouts/injar-debug.jar
Binary files differ
diff --git a/tests/bugs/systemouts/injar-nodebug.jar b/tests/bugs/systemouts/injar-nodebug.jar
new file mode 100644
index 000000000..64140400d
--- /dev/null
+++ b/tests/bugs/systemouts/injar-nodebug.jar
Binary files differ
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>