summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraclement <aclement>2004-10-01 07:19:14 +0000
committeraclement <aclement>2004-10-01 07:19:14 +0000
commitc05237fe708ad3b200a9ea9be9c212e1d07abed3 (patch)
treed27127e2d5f2dd84c761563c4bcaf7d40ca9da13
parentf8a87f1bb5fb19f5eb2f85e8df32939bb88bb73e (diff)
downloadaspectj-c05237fe708ad3b200a9ea9be9c212e1d07abed3.tar.gz
aspectj-c05237fe708ad3b200a9ea9be9c212e1d07abed3.zip
Fix for Bugzilla Bug 74279
-showWeaveInfo option is not supported by iajc Ant task
-rw-r--r--taskdefs/testdata/DoSomeWeaving.java16
-rw-r--r--taskdefs/testdata/showweaveinfo.lst1
2 files changed, 17 insertions, 0 deletions
diff --git a/taskdefs/testdata/DoSomeWeaving.java b/taskdefs/testdata/DoSomeWeaving.java
new file mode 100644
index 000000000..352602d00
--- /dev/null
+++ b/taskdefs/testdata/DoSomeWeaving.java
@@ -0,0 +1,16 @@
+class DoSomeWeaving {
+ public static void main(String[] argv) {
+ new DoSomeWeaving().sayHi();
+ }
+
+
+ public void sayHi() {
+ System.err.println("hi");
+ }
+}
+
+aspect A1 {
+ before(): call(* *(..)) && !within(A1) {
+ System.err.println("Just about to make a call");
+ }
+}
diff --git a/taskdefs/testdata/showweaveinfo.lst b/taskdefs/testdata/showweaveinfo.lst
new file mode 100644
index 000000000..f1ef82dfe
--- /dev/null
+++ b/taskdefs/testdata/showweaveinfo.lst
@@ -0,0 +1 @@
+DoSomeWeaving.java