Browse Source

cope (not perfect) with recent change to containers in AJDT projects.

tags/pre_pr_153572
aclement 18 years ago
parent
commit
43991a1334
2 changed files with 8 additions and 3 deletions
  1. 8
    3
      build/src/org/aspectj/internal/tools/build/Module.java
  2. BIN
      lib/build/build.jar

+ 8
- 3
build/src/org/aspectj/internal/tools/build/Module.java View File

@@ -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 {

BIN
lib/build/build.jar View File


Loading…
Cancel
Save