diff options
author | aclement <aclement> | 2006-08-01 09:50:34 +0000 |
---|---|---|
committer | aclement <aclement> | 2006-08-01 09:50:34 +0000 |
commit | 43991a1334b04cf9580bc62961da1351490f94a4 (patch) | |
tree | 731f4fa14059ccb5a75eb9e7e45aa326865be293 /build/src | |
parent | 684562c498597d1181a3401c8d01c09aa76981e1 (diff) | |
download | aspectj-43991a1334b04cf9580bc62961da1351490f94a4.tar.gz aspectj-43991a1334b04cf9580bc62961da1351490f94a4.zip |
cope (not perfect) with recent change to containers in AJDT projects.
Diffstat (limited to 'build/src')
-rw-r--r-- | build/src/org/aspectj/internal/tools/build/Module.java | 11 |
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 { |