From: Andy Clement Date: Fri, 20 Oct 2017 19:44:16 +0000 (-0700) Subject: added module/modulesourcepath to compiler configuration interface X-Git-Tag: V1_9_0_RC3~2^2~16 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a3626e21102cba1c4c30d3872cfd0f5055b8f4f2;p=aspectj.git added module/modulesourcepath to compiler configuration interface --- diff --git a/ajbrowser/src/org/aspectj/tools/ajbrowser/core/BrowserCompilerConfiguration.java b/ajbrowser/src/org/aspectj/tools/ajbrowser/core/BrowserCompilerConfiguration.java index 26f20bef2..35f676e1b 100644 --- a/ajbrowser/src/org/aspectj/tools/ajbrowser/core/BrowserCompilerConfiguration.java +++ b/ajbrowser/src/org/aspectj/tools/ajbrowser/core/BrowserCompilerConfiguration.java @@ -124,4 +124,14 @@ public class BrowserCompilerConfiguration implements ICompilerConfiguration { return null; } + @Override + public String getModulepath() { + return null; + } + + @Override + public String getModuleSourcepath() { + return null; + } + } diff --git a/ajde.core/src/org/aspectj/ajde/core/ICompilerConfiguration.java b/ajde.core/src/org/aspectj/ajde/core/ICompilerConfiguration.java index ef3a56e69..8f8351759 100644 --- a/ajde.core/src/org/aspectj/ajde/core/ICompilerConfiguration.java +++ b/ajde.core/src/org/aspectj/ajde/core/ICompilerConfiguration.java @@ -61,10 +61,11 @@ public interface ICompilerConfiguration extends CompilerConfigurationChangeFlags */ public List getProjectSourceFilesChanged(); - /** - * @return the classpath to use - */ public String getClasspath(); + + public String getModulepath(); + + public String getModuleSourcepath(); /** * @return the IOutputLocationManager associated with this compiler configuration diff --git a/ajde.core/testsrc/org/aspectj/ajde/core/TestCompilerConfiguration.java b/ajde.core/testsrc/org/aspectj/ajde/core/TestCompilerConfiguration.java index 2265014f9..013786611 100644 --- a/ajde.core/testsrc/org/aspectj/ajde/core/TestCompilerConfiguration.java +++ b/ajde.core/testsrc/org/aspectj/ajde/core/TestCompilerConfiguration.java @@ -62,9 +62,9 @@ public class TestCompilerConfiguration implements ICompilerConfiguration { StringBuilder classpath = new StringBuilder(); classpath.append(projectPath); if (LangUtil.is19VMOrGreater()) { - classpath.append(File.pathSeparator).append(LangUtil.getJrtFsFilePath()); + classpath.append(File.pathSeparator).append(LangUtil.getJrtFsFilePath()); } else { - classpath.append(File.pathSeparator).append(System.getProperty("sun.boot.class.path")); + classpath.append(File.pathSeparator).append(System.getProperty("sun.boot.class.path")); } classpath.append(File.pathSeparator).append(AjcTests.aspectjrtClasspath()); return classpath.toString(); @@ -187,4 +187,14 @@ public class TestCompilerConfiguration implements ICompilerConfiguration { return null; } + @Override + public String getModulepath() { + return null; + } + + @Override + public String getModuleSourcepath() { + return null; + } + } diff --git a/ajde/testsrc/org/aspectj/ajde/ui/utils/TestCompilerConfiguration.java b/ajde/testsrc/org/aspectj/ajde/ui/utils/TestCompilerConfiguration.java index 32f12c82d..8c3b4ac1f 100644 --- a/ajde/testsrc/org/aspectj/ajde/ui/utils/TestCompilerConfiguration.java +++ b/ajde/testsrc/org/aspectj/ajde/ui/utils/TestCompilerConfiguration.java @@ -189,4 +189,14 @@ public class TestCompilerConfiguration implements ICompilerConfiguration { return null; } + @Override + public String getModulepath() { + return null; + } + + @Override + public String getModuleSourcepath() { + return null; + } + }