]> source.dussan.org Git - aspectj.git/commitdiff
124460: aop.xml used for compilation: AJDT interface support
authoraclement <aclement>
Thu, 12 Feb 2009 16:41:01 +0000 (16:41 +0000)
committeraclement <aclement>
Thu, 12 Feb 2009 16:41:01 +0000 (16:41 +0000)
tests/multiIncremental/xmlone/base/p/A.java [new file with mode: 0644]
tests/multiIncremental/xmlone/base/p/A2.java [new file with mode: 0644]
tests/multiIncremental/xmlone/base/p/X.java [new file with mode: 0644]
tests/multiIncremental/xmlone/base/p/aop.xml [new file with mode: 0644]

diff --git a/tests/multiIncremental/xmlone/base/p/A.java b/tests/multiIncremental/xmlone/base/p/A.java
new file mode 100644 (file)
index 0000000..d5a7628
--- /dev/null
@@ -0,0 +1,4 @@
+package p;
+
+public class A {
+}
diff --git a/tests/multiIncremental/xmlone/base/p/A2.java b/tests/multiIncremental/xmlone/base/p/A2.java
new file mode 100644 (file)
index 0000000..41e7eaf
--- /dev/null
@@ -0,0 +1,4 @@
+package p;
+
+public class A2 {
+}
diff --git a/tests/multiIncremental/xmlone/base/p/X.java b/tests/multiIncremental/xmlone/base/p/X.java
new file mode 100644 (file)
index 0000000..184df37
--- /dev/null
@@ -0,0 +1,5 @@
+package p;
+
+public aspect X {
+  before(): staticinitialization(!X) {}
+}
diff --git a/tests/multiIncremental/xmlone/base/p/aop.xml b/tests/multiIncremental/xmlone/base/p/aop.xml
new file mode 100644 (file)
index 0000000..2758404
--- /dev/null
@@ -0,0 +1,5 @@
+<aspectj>
+  <aspects>
+    <aspect name="p.X" scope="p.A"/>
+  </aspects>
+</aspectj>