From 708aa64283eba13391c6081e11540520f1ecba9a Mon Sep 17 00:00:00 2001 From: Daniel Holle Date: Thu, 18 Apr 2024 10:31:12 +0200 Subject: [PATCH] Fix current directory not being added to path --- src/main/java/de/dhbwstuttgart/core/JavaTXCompiler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/de/dhbwstuttgart/core/JavaTXCompiler.java b/src/main/java/de/dhbwstuttgart/core/JavaTXCompiler.java index 7d284c22..d096935c 100644 --- a/src/main/java/de/dhbwstuttgart/core/JavaTXCompiler.java +++ b/src/main/java/de/dhbwstuttgart/core/JavaTXCompiler.java @@ -99,7 +99,7 @@ public class JavaTXCompiler { if (outputPath != null) path.add(outputPath); classLoader = new DirectoryClassLoader(path, ClassLoader.getSystemClassLoader()); environment = new CompilationEnvironment(sources); - classPath = contextPath; + classPath = path; this.outputPath = outputPath; for (File s : sources) {