From 017c1f96e837080cfbc8bceca53ea265d2b9421d Mon Sep 17 00:00:00 2001 From: aclement Date: Fri, 29 Aug 2008 00:00:01 +0000 Subject: [PATCH] 245566: incremental magic --- .../core/BrowserCompilerConfiguration.java | 24 ++++++++++--------- 1 file 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() { + } } -- 2.39.5