aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kriegisch <Alexander@Kriegisch.name>2022-10-03 14:02:32 +0200
committerAlexander Kriegisch <Alexander@Kriegisch.name>2022-10-03 14:05:46 +0200
commit7ef7cd245b2d62581d67c122a95cb29d8b0dbb76 (patch)
tree67b840600fc4347221eba81775a7d4d0b96d3265
parentd2b81de3244d47476923be07f1f822e5ccb7cb98 (diff)
downloadaspectj-7ef7cd245b2d62581d67c122a95cb29d8b0dbb76.tar.gz
aspectj-7ef7cd245b2d62581d67c122a95cb29d8b0dbb76.zip
Remove Batik path entries from test classpath
Firstly, Batik is not needed for running AspectJ tests. Secondly, the fixed Windows path separators led to GitHub CI/CD tests failing under Java 18+ on GitHub. Replacing ';' by 'File.pathSeparator' would have fixed the problem, but removing the paths altogether is the cleaner solution. Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
-rw-r--r--tests/src/test/java/org/aspectj/systemtest/incremental/tools/MultiProjTestCompilerConfiguration.java15
1 files changed, 8 insertions, 7 deletions
diff --git a/tests/src/test/java/org/aspectj/systemtest/incremental/tools/MultiProjTestCompilerConfiguration.java b/tests/src/test/java/org/aspectj/systemtest/incremental/tools/MultiProjTestCompilerConfiguration.java
index 5a3cab221..52602114e 100644
--- a/tests/src/test/java/org/aspectj/systemtest/incremental/tools/MultiProjTestCompilerConfiguration.java
+++ b/tests/src/test/java/org/aspectj/systemtest/incremental/tools/MultiProjTestCompilerConfiguration.java
@@ -67,13 +67,14 @@ public class MultiProjTestCompilerConfiguration implements ICompilerConfiguratio
for (File dir: allOutputPaths) {
sb.append(File.pathSeparator + dir.getAbsolutePath());
}
- String cp = sb.toString() + File.pathSeparator + new File(AjdeInteractionTestbed.testdataSrcDir) + File.pathSeparator
- + System.getProperty("sun.boot.class.path") + File.pathSeparator + "../runtime/target/classes" + File.pathSeparator
- + this.classPath + File.pathSeparator + System.getProperty("aspectjrt.path") + File.pathSeparator
- + "../lib/junit/junit.jar" + "c:/batik/batik-1.6/lib/batik-util.jar;"
- + "c:/batik/batik-1.6/lib/batik-awt-util.jar;" + "c:/batik/batik-1.6/lib/batik-dom.jar;"
- + "c:/batik/batik-1.6/lib/batik-svggen.jar;" + File.pathSeparator + ".." + File.separator + "lib" + File.separator
- + "test" + File.separator + "aspectjrt.jar";
+ String cp = sb + File.pathSeparator
+ + new File(AjdeInteractionTestbed.testdataSrcDir) + File.pathSeparator
+ + System.getProperty("sun.boot.class.path") + File.pathSeparator
+ + "../runtime/target/classes" + File.pathSeparator
+ + this.classPath + File.pathSeparator
+ + System.getProperty("aspectjrt.path") + File.pathSeparator
+ + "../lib/junit/junit.jar" + File.pathSeparator
+ + ".." + File.separator + "lib" + File.separator + "test" + File.separator + "aspectjrt.jar";
verifyClasspath(cp);
if (LangUtil.is9VMOrGreater()) {
cp = LangUtil.getJrtFsFilePath() + File.pathSeparator + cp;