summaryrefslogtreecommitdiffstats
path: root/ajde/testdata
diff options
context:
space:
mode:
authoracolyer <acolyer>2004-03-17 12:25:49 +0000
committeracolyer <acolyer>2004-03-17 12:25:49 +0000
commit34dbb0c41b3e324e3c7fc5a150c314fbecfd5e6e (patch)
treeb1150ee6eda37e251eb161a87492f9cdde0ac6aa /ajde/testdata
parent90fbe5d804038002cc651421a5bc94a2b20f7e70 (diff)
downloadaspectj-34dbb0c41b3e324e3c7fc5a150c314fbecfd5e6e.tar.gz
aspectj-34dbb0c41b3e324e3c7fc5a150c314fbecfd5e6e.zip
fix for Bugzilla Bug 47910
ajc -outjar jarfile does not contain MANIFEST.MF
Diffstat (limited to 'ajde/testdata')
-rw-r--r--ajde/testdata/JarManifestTest/noweave.lst3
-rw-r--r--ajde/testdata/JarManifestTest/src/Logging.aj13
-rw-r--r--ajde/testdata/JarManifestTest/src/Main.java25
-rw-r--r--ajde/testdata/JarManifestTest/weave.lst2
4 files changed, 43 insertions, 0 deletions
diff --git a/ajde/testdata/JarManifestTest/noweave.lst b/ajde/testdata/JarManifestTest/noweave.lst
new file mode 100644
index 000000000..814b7c8ee
--- /dev/null
+++ b/ajde/testdata/JarManifestTest/noweave.lst
@@ -0,0 +1,3 @@
+src/Main.java
+src/Logging.aj
+-noweave \ No newline at end of file
diff --git a/ajde/testdata/JarManifestTest/src/Logging.aj b/ajde/testdata/JarManifestTest/src/Logging.aj
new file mode 100644
index 000000000..3ef6ef0e8
--- /dev/null
+++ b/ajde/testdata/JarManifestTest/src/Logging.aj
@@ -0,0 +1,13 @@
+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/testdata/JarManifestTest/src/Main.java b/ajde/testdata/JarManifestTest/src/Main.java
new file mode 100644
index 000000000..94369dd8e
--- /dev/null
+++ b/ajde/testdata/JarManifestTest/src/Main.java
@@ -0,0 +1,25 @@
+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 void println () {
+ System.out.println("Main.");
+ }
+
+ public static void main(String[] args) throws IOException {
+ new Main().println();
+ }
+}
diff --git a/ajde/testdata/JarManifestTest/weave.lst b/ajde/testdata/JarManifestTest/weave.lst
new file mode 100644
index 000000000..0ad7a8a9a
--- /dev/null
+++ b/ajde/testdata/JarManifestTest/weave.lst
@@ -0,0 +1,2 @@
+src/Main.java
+src/Logging.aj