aboutsummaryrefslogtreecommitdiffstats
path: root/tests/apt
diff options
context:
space:
mode:
authorAndy Clement <aclement@pivotal.io>2015-06-25 13:20:02 -0700
committerAndy Clement <aclement@pivotal.io>2015-06-25 13:20:02 -0700
commit451a29f0fd2e55e7e2c1e54a6ae9d01a42b7b128 (patch)
tree69e901acc4be576af1eb2f7a5253b54c1eaec7f7 /tests/apt
parent6b93a91e234dcf4286b168421fd88484d1c855ad (diff)
downloadaspectj-451a29f0fd2e55e7e2c1e54a6ae9d01a42b7b128.tar.gz
aspectj-451a29f0fd2e55e7e2c1e54a6ae9d01a42b7b128.zip
AspectJ upgraded to Mars compiler
Diffstat (limited to 'tests/apt')
-rw-r--r--tests/apt/test1/.SimpleProcessor.java.swpbin0 -> 16384 bytes
-rw-r--r--tests/apt/test1/SimpleProcessor.java6
2 files changed, 5 insertions, 1 deletions
diff --git a/tests/apt/test1/.SimpleProcessor.java.swp b/tests/apt/test1/.SimpleProcessor.java.swp
new file mode 100644
index 000000000..d7aa456aa
--- /dev/null
+++ b/tests/apt/test1/.SimpleProcessor.java.swp
Binary files differ
diff --git a/tests/apt/test1/SimpleProcessor.java b/tests/apt/test1/SimpleProcessor.java
index 292dcd8d4..29cb0a8ce 100644
--- a/tests/apt/test1/SimpleProcessor.java
+++ b/tests/apt/test1/SimpleProcessor.java
@@ -203,6 +203,9 @@ public final class SimpleProcessor extends AbstractProcessor {
final TypeElement classElement = entry.getKey();
final PackageElement packageElement = (PackageElement) classElement.getEnclosingElement();
try {
+// if (processingEnv.getFiler().getResource(StandardLocation.SOURCE_OUTPUT, packageElement.getQualifiedName(), classElement.getSimpleName()+"EventsAspect.aj")!= null) {
+// continue;
+// }
final FileObject jfo = processingEnv.getFiler().createResource(
StandardLocation.SOURCE_OUTPUT,
packageElement.getQualifiedName(),
@@ -236,7 +239,8 @@ public final class SimpleProcessor extends AbstractProcessor {
bw.newLine();
}
} catch (final Throwable e) {
- processingEnv.getMessager().printMessage(Diagnostic.Kind.ERROR, e.getMessage());
+
+// processingEnv.getMessager().printMessage(Diagnostic.Kind.WARNING, e.getMessage());
}
}
}