aboutsummaryrefslogtreecommitdiffstats
path: root/ajde.core/testdata/bug-36071a
diff options
context:
space:
mode:
Diffstat (limited to 'ajde.core/testdata/bug-36071a')
-rw-r--r--ajde.core/testdata/bug-36071a/config1.lst2
-rw-r--r--ajde.core/testdata/bug-36071a/config2.lst1
-rw-r--r--ajde.core/testdata/bug-36071a/input1bin0 -> 1895 bytes
-rw-r--r--ajde.core/testdata/bug-36071a/input1.jarbin0 -> 1895 bytes
-rw-r--r--ajde.core/testdata/bug-36071a/input2.jarbin0 -> 162 bytes
-rw-r--r--ajde.core/testdata/bug-36071a/src/Main.java22
-rw-r--r--ajde.core/testdata/bug-36071a/src/aspects/Logging.java27
-rw-r--r--ajde.core/testdata/bug-36071a/src/testsrc/TestProperties.java29
-rw-r--r--ajde.core/testdata/bug-36071a/src/testsrc/test.props1
9 files changed, 82 insertions, 0 deletions
diff --git a/ajde.core/testdata/bug-36071a/config1.lst b/ajde.core/testdata/bug-36071a/config1.lst
new file mode 100644
index 000000000..e1a10a7f6
--- /dev/null
+++ b/ajde.core/testdata/bug-36071a/config1.lst
@@ -0,0 +1,2 @@
+src/Main.java
+src/testsrc/TestProperties.java
diff --git a/ajde.core/testdata/bug-36071a/config2.lst b/ajde.core/testdata/bug-36071a/config2.lst
new file mode 100644
index 000000000..5657df30e
--- /dev/null
+++ b/ajde.core/testdata/bug-36071a/config2.lst
@@ -0,0 +1 @@
+src/aspects/Logging.java
diff --git a/ajde.core/testdata/bug-36071a/input1 b/ajde.core/testdata/bug-36071a/input1
new file mode 100644
index 000000000..cc7183fdd
--- /dev/null
+++ b/ajde.core/testdata/bug-36071a/input1
Binary files differ
diff --git a/ajde.core/testdata/bug-36071a/input1.jar b/ajde.core/testdata/bug-36071a/input1.jar
new file mode 100644
index 000000000..cc7183fdd
--- /dev/null
+++ b/ajde.core/testdata/bug-36071a/input1.jar
Binary files differ
diff --git a/ajde.core/testdata/bug-36071a/input2.jar b/ajde.core/testdata/bug-36071a/input2.jar
new file mode 100644
index 000000000..ff8b20a65
--- /dev/null
+++ b/ajde.core/testdata/bug-36071a/input2.jar
Binary files differ
diff --git a/ajde.core/testdata/bug-36071a/src/Main.java b/ajde.core/testdata/bug-36071a/src/Main.java
new file mode 100644
index 000000000..417fc6809
--- /dev/null
+++ b/ajde.core/testdata/bug-36071a/src/Main.java
@@ -0,0 +1,22 @@
+import java.io.IOException;
+
+/*
+ * Created on 30-Jul-03
+ *
+ * To change this generated comment go to
+ * Window>Preferences>Java>Code Generation>Code and Comments
+ */
+
+/**
+ * @author websterm
+ *
+ * To change this generated comment go to
+ * Window>Preferences>Java>Code Generation>Code and Comments
+ */
+public class Main {
+
+ public static void main(String[] args) throws IOException {
+ String propsName = (args.length > 0)? args[0] : "test.props";
+ new test.TestProperties().load(propsName);
+ }
+}
diff --git a/ajde.core/testdata/bug-36071a/src/aspects/Logging.java b/ajde.core/testdata/bug-36071a/src/aspects/Logging.java
new file mode 100644
index 000000000..2e8ba485a
--- /dev/null
+++ b/ajde.core/testdata/bug-36071a/src/aspects/Logging.java
@@ -0,0 +1,27 @@
+/*
+ * Created on 30-Jul-03
+ *
+ * To change this generated comment go to
+ * Window>Preferences>Java>Code Generation>Code and Comments
+ */
+package aspects;
+
+/**
+ * @author websterm
+ *
+ * To change this generated comment go to
+ * Window>Preferences>Java>Code Generation>Code and Comments
+ */
+public aspect Logging {
+
+ pointcut methods () :
+ execution(* *..*(..)) && !within(Logging);
+
+ before () : methods () {
+ System.err.println("> " + thisJoinPoint.getSignature().toLongString());
+ }
+
+ after () : methods () {
+ System.err.println("< " + thisJoinPoint.getSignature().toLongString());
+ }
+}
diff --git a/ajde.core/testdata/bug-36071a/src/testsrc/TestProperties.java b/ajde.core/testdata/bug-36071a/src/testsrc/TestProperties.java
new file mode 100644
index 000000000..18139e035
--- /dev/null
+++ b/ajde.core/testdata/bug-36071a/src/testsrc/TestProperties.java
@@ -0,0 +1,29 @@
+/*
+ * Created on 30-Jul-03
+ *
+ * To change this generated comment go to
+ * Window>Preferences>Java>Code Generation>Code and Comments
+ */
+package test;
+
+import java.io.IOException;
+import java.io.InputStream;
+import java.util.Properties;
+
+/**
+ * @author websterm
+ *
+ * To change this generated comment go to
+ * Window>Preferences>Java>Code Generation>Code and Comments
+ */
+public class TestProperties {
+
+ public void load (String name) throws IOException {
+ InputStream in = getClass().getResourceAsStream(name);
+// System.out.println("? load() in=" + in);
+ Properties props = new Properties();
+ props.load(in);
+ in.close();
+ props.list(System.out);
+ }
+}
diff --git a/ajde.core/testdata/bug-36071a/src/testsrc/test.props b/ajde.core/testdata/bug-36071a/src/testsrc/test.props
new file mode 100644
index 000000000..51e670ac7
--- /dev/null
+++ b/ajde.core/testdata/bug-36071a/src/testsrc/test.props
@@ -0,0 +1 @@
+test=test \ No newline at end of file