diff options
Diffstat (limited to 'ajde.core')
-rw-r--r-- | ajde.core/src/org/aspectj/ajde/core/ICompilerConfiguration.java | 6 | ||||
-rw-r--r-- | ajde.core/src/org/aspectj/ajde/core/internal/AjdeCoreBuildManager.java | 2 |
2 files changed, 8 insertions, 0 deletions
diff --git a/ajde.core/src/org/aspectj/ajde/core/ICompilerConfiguration.java b/ajde.core/src/org/aspectj/ajde/core/ICompilerConfiguration.java index 8f52f36da..ecc939ad5 100644 --- a/ajde.core/src/org/aspectj/ajde/core/ICompilerConfiguration.java +++ b/ajde.core/src/org/aspectj/ajde/core/ICompilerConfiguration.java @@ -122,10 +122,16 @@ public interface ICompilerConfiguration extends CompilerConfigurationChangeFlags * classpath element will be checked) */ public List getClasspathElementsWithModifiedContents(); + // // /** // * @return the location where the state can be persisted across eclipse restarts. eg. f:/foo/bar/goo // */ // public String getLocationForPersistingProjectState(); + /** + * Return the encoding to use for this project. Return null if the platform default should be used. Example return value "UTF-8" + */ + public String getProjectEncoding(); + } diff --git a/ajde.core/src/org/aspectj/ajde/core/internal/AjdeCoreBuildManager.java b/ajde.core/src/org/aspectj/ajde/core/internal/AjdeCoreBuildManager.java index 30b6673df..4895ccc62 100644 --- a/ajde.core/src/org/aspectj/ajde/core/internal/AjdeCoreBuildManager.java +++ b/ajde.core/src/org/aspectj/ajde/core/internal/AjdeCoreBuildManager.java @@ -329,6 +329,8 @@ public class AjdeCoreBuildManager { config.setIncrementalMode(true); // always force proceedOnError in AJDE config.setProceedOnError(true); + + config.setProjectEncoding(compilerConfig.getProjectEncoding()); return config; } |