diff options
author | aclement <aclement> | 2008-08-29 00:00:01 +0000 |
---|---|---|
committer | aclement <aclement> | 2008-08-29 00:00:01 +0000 |
commit | 017c1f96e837080cfbc8bceca53ea265d2b9421d (patch) | |
tree | 50f0a6aa3bfbe5fed0d176ccb9d6d3a28552e63e /ajbrowser | |
parent | cf66ed56a619637b5be8e47b4156b23b057a57b6 (diff) | |
download | aspectj-017c1f96e837080cfbc8bceca53ea265d2b9421d.tar.gz aspectj-017c1f96e837080cfbc8bceca53ea265d2b9421d.zip |
245566: incremental magic
Diffstat (limited to 'ajbrowser')
-rw-r--r-- | ajbrowser/src/org/aspectj/tools/ajbrowser/core/BrowserCompilerConfiguration.java | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/ajbrowser/src/org/aspectj/tools/ajbrowser/core/BrowserCompilerConfiguration.java b/ajbrowser/src/org/aspectj/tools/ajbrowser/core/BrowserCompilerConfiguration.java index 58a68c194..15f385be3 100644 --- a/ajbrowser/src/org/aspectj/tools/ajbrowser/core/BrowserCompilerConfiguration.java +++ b/ajbrowser/src/org/aspectj/tools/ajbrowser/core/BrowserCompilerConfiguration.java @@ -22,11 +22,9 @@ import org.aspectj.ajde.ui.UserPreferencesAdapter; 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 { @@ -39,8 +37,7 @@ 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); } @@ -50,7 +47,7 @@ public class BrowserCompilerConfiguration implements ICompilerConfiguration { 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(); } @@ -59,8 +56,7 @@ public class BrowserCompilerConfiguration implements ICompilerConfiguration { } public String getNonStandardOptions() { - return preferencesAdapter - .getProjectPreference(PreferenceStoreConstants.NONSTANDARD_OPTIONS); + return preferencesAdapter.getProjectPreference(PreferenceStoreConstants.NONSTANDARD_OPTIONS); } public IOutputLocationManager getOutputLocationManager() { @@ -80,7 +76,6 @@ public class BrowserCompilerConfiguration implements ICompilerConfiguration { return null; } - public Map getSourcePathResources() { // unimplemented in AjBrowser return null; @@ -100,4 +95,11 @@ public class BrowserCompilerConfiguration implements ICompilerConfiguration { // unimplemented in AjBrowser return null; } + + public int getConfigurationChanges() { + return ICompilerConfiguration.EVERYTHING; + } + + public void configurationRead() { + } } |