Browse Source

added module/modulesourcepath to compiler configuration interface

tags/V1_9_0_RC3
Andy Clement 6 years ago
parent
commit
a3626e2110

+ 10
- 0
ajbrowser/src/org/aspectj/tools/ajbrowser/core/BrowserCompilerConfiguration.java View File

@@ -124,4 +124,14 @@ public class BrowserCompilerConfiguration implements ICompilerConfiguration {
return null;
}

@Override
public String getModulepath() {
return null;
}

@Override
public String getModuleSourcepath() {
return null;
}

}

+ 4
- 3
ajde.core/src/org/aspectj/ajde/core/ICompilerConfiguration.java View File

@@ -61,10 +61,11 @@ public interface ICompilerConfiguration extends CompilerConfigurationChangeFlags
*/
public List<File> getProjectSourceFilesChanged();

/**
* @return the classpath to use
*/
public String getClasspath();
public String getModulepath();
public String getModuleSourcepath();

/**
* @return the IOutputLocationManager associated with this compiler configuration

+ 12
- 2
ajde.core/testsrc/org/aspectj/ajde/core/TestCompilerConfiguration.java View File

@@ -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;
}

}

+ 10
- 0
ajde/testsrc/org/aspectj/ajde/ui/utils/TestCompilerConfiguration.java View File

@@ -189,4 +189,14 @@ public class TestCompilerConfiguration implements ICompilerConfiguration {
return null;
}

@Override
public String getModulepath() {
return null;
}

@Override
public String getModuleSourcepath() {
return null;
}

}

Loading…
Cancel
Save