aboutsummaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authoraclement <aclement>2006-08-01 09:50:34 +0000
committeraclement <aclement>2006-08-01 09:50:34 +0000
commit43991a1334b04cf9580bc62961da1351490f94a4 (patch)
tree731f4fa14059ccb5a75eb9e7e45aa326865be293 /build
parent684562c498597d1181a3401c8d01c09aa76981e1 (diff)
downloadaspectj-43991a1334b04cf9580bc62961da1351490f94a4.tar.gz
aspectj-43991a1334b04cf9580bc62961da1351490f94a4.zip
cope (not perfect) with recent change to containers in AJDT projects.
Diffstat (limited to 'build')
-rw-r--r--build/src/org/aspectj/internal/tools/build/Module.java11
1 files changed, 8 insertions, 3 deletions
diff --git a/build/src/org/aspectj/internal/tools/build/Module.java b/build/src/org/aspectj/internal/tools/build/Module.java
index 177ab26a6..02209e22e 100644
--- a/build/src/org/aspectj/internal/tools/build/Module.java
+++ b/build/src/org/aspectj/internal/tools/build/Module.java
@@ -441,9 +441,14 @@ public class Module {
classpathVariables.add(path);
}
} else if ("con".equals(kind)) {
- if (-1 == path.indexOf("JRE")) { // warn non-JRE containers
- messager.log("cannot handle con yet: " + toString);
- }
+ // 'special' for container pointing at AspectJ runtime...
+ if (path.equals("org.eclipse.ajdt.core.ASPECTJRT_CONTAINER")) {
+ classpathVariables.add("ASPECTJRT_LIB");
+ } else {
+ if (-1 == path.indexOf("JRE")) { // warn non-JRE containers
+ messager.log("cannot handle con yet: " + toString);
+ }
+ }
} else if ("out".equals(kind) || "output".equals(kind)) {
// ignore output entries
} else {