diff options
author | Andy Clement <aclement@pivotal.io> | 2019-03-07 11:50:24 -0800 |
---|---|---|
committer | Andy Clement <aclement@pivotal.io> | 2019-03-07 11:50:24 -0800 |
commit | 370f291c359cd159c5f3f0abd6e9e53e81234a07 (patch) | |
tree | 8a1631f75b36bc1504bdb0d0405d2e21a270d690 /org.aspectj.ajdt.core | |
parent | 7d2e6a2aee648599c19a0fb4d84bb787704b3bc2 (diff) | |
download | aspectj-370f291c359cd159c5f3f0abd6e9e53e81234a07.tar.gz aspectj-370f291c359cd159c5f3f0abd6e9e53e81234a07.zip |
1.9.3.RC1 final bitsV1_9_3RC1
Diffstat (limited to 'org.aspectj.ajdt.core')
-rw-r--r-- | org.aspectj.ajdt.core/src/main/java/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/org.aspectj.ajdt.core/src/main/java/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java b/org.aspectj.ajdt.core/src/main/java/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java index 25557035a..e7419680e 100644 --- a/org.aspectj.ajdt.core/src/main/java/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java +++ b/org.aspectj.ajdt.core/src/main/java/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java @@ -1340,6 +1340,13 @@ public class AjBuildManager implements IOutputClassFileNameProvider, IBinarySour if (buildConfig == null || buildConfig.getFullClasspath() == null) { return "no classpath specified"; } + + for (String s: buildConfig.getFullClasspath()) { + if (s.endsWith("runtime/target/classes")) { + // doing an AspectJ build + return null; + } + } String ret = null; for (Iterator<String> it = buildConfig.getFullClasspath().iterator(); it.hasNext();) { @@ -1362,7 +1369,7 @@ public class AjBuildManager implements IOutputClassFileNameProvider, IBinarySour } } // assume that users of development aspectjrt.jar know what they're doing - if (Version.DEVELOPMENT.equals(version)) { + if (Version.DEVELOPMENT.equals(version) || version.endsWith("BUILD-SNAPSHOT")) { // MessageUtil.info(holder, // "running with development version of aspectjrt.jar in " + // p.getAbsolutePath()); |