diff options
Diffstat (limited to 'build')
-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 { |