import org.aspectj.tools.ajbrowser.BrowserManager;
/**
- * AjBrowser implementation of ICompilerConfiguration which returns something
- * for getClasspath(), getJavaOptionsMap(), getNonStandardOptions() and
- * getOutputLocationManager() and null for everything else. The reason it doesn't
- * return anything for getProjectSourceFiles() is that it uses .lst files to record
- * what is needed to build (via BuildConfigManager).
+ * AjBrowser implementation of ICompilerConfiguration which returns something for getClasspath(), getJavaOptionsMap(),
+ * getNonStandardOptions() and getOutputLocationManager() and null for everything else. The reason it doesn't return anything for
+ * getProjectSourceFiles() is that it uses .lst files to record what is needed to build (via BuildConfigManager).
*/
public class BrowserCompilerConfiguration implements ICompilerConfiguration {
public String getClasspath() {
StringBuffer classpath = new StringBuffer();
- String userPath = preferencesAdapter
- .getProjectPreference(PreferenceStoreConstants.BUILD_CLASSPATH);
+ String userPath = preferencesAdapter.getProjectPreference(PreferenceStoreConstants.BUILD_CLASSPATH);
if (userPath != null && userPath.trim().length() != 0) {
classpath.append(userPath);
}
classpath.append(File.pathSeparator + dir.getAbsolutePath() + File.pathSeparator);
}
classpath.append(System.getProperty("java.class.path", "."));
- //System.out.println("classpath: " + classpath.toString());
+ // System.out.println("classpath: " + classpath.toString());
return classpath.toString();
}
}
public String getNonStandardOptions() {
- return preferencesAdapter
- .getProjectPreference(PreferenceStoreConstants.NONSTANDARD_OPTIONS);
+ return preferencesAdapter.getProjectPreference(PreferenceStoreConstants.NONSTANDARD_OPTIONS);
}
public IOutputLocationManager getOutputLocationManager() {
return null;
}
-
public Map getSourcePathResources() {
// unimplemented in AjBrowser
return null;
// unimplemented in AjBrowser
return null;
}
+
+ public int getConfigurationChanges() {
+ return ICompilerConfiguration.EVERYTHING;
+ }
+
+ public void configurationRead() {
+ }
}