diff options
author | acolyer <acolyer> | 2004-06-08 15:17:33 +0000 |
---|---|---|
committer | acolyer <acolyer> | 2004-06-08 15:17:33 +0000 |
commit | f7b9262987357427c40d48b2d3f3488d4af49ecc (patch) | |
tree | 3ab72c9a2d4c6d839e50f104088a79fd566d6ae8 | |
parent | 7a28eddf75ab80c8c4f52445e0ce0a0315b8349d (diff) | |
download | aspectj-f7b9262987357427c40d48b2d3f3488d4af49ecc.tar.gz aspectj-f7b9262987357427c40d48b2d3f3488d4af49ecc.zip |
adapt to new options and EclipseFactory constructor sig
-rw-r--r-- | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java index b05092ca2..32c39a839 100644 --- a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java +++ b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java @@ -507,7 +507,7 @@ public class AjBuildManager implements IOutputClassFileNameProvider,IBinarySourc // } public FileSystem getLibraryAccess(String[] classpaths, String[] filenames) { - String defaultEncoding = (String) buildConfig.getJavaOptions().get(CompilerOptions.OPTION_Encoding); + String defaultEncoding = buildConfig.getOptions().defaultEncoding; if ("".equals(defaultEncoding)) //$NON-NLS-1$ defaultEncoding = null; //$NON-NLS-1$ // Bug 46671: We need an array as long as the number of elements in the classpath - *even though* not every @@ -531,7 +531,7 @@ public class AjBuildManager implements IOutputClassFileNameProvider,IBinarySourc CompilationUnit[] units = new CompilationUnit[fileCount]; // HashtableOfObject knownFileNames = new HashtableOfObject(fileCount); - String defaultEncoding = (String) buildConfig.getJavaOptions().get(CompilerOptions.OPTION_Encoding); + String defaultEncoding = buildConfig.getOptions().defaultEncoding; if ("".equals(defaultEncoding)) //$NON-NLS-1$ defaultEncoding = null; //$NON-NLS-1$ @@ -589,7 +589,7 @@ public class AjBuildManager implements IOutputClassFileNameProvider,IBinarySourc org.eclipse.jdt.internal.compiler.Compiler compiler = new org.eclipse.jdt.internal.compiler.Compiler(environment, DefaultErrorHandlingPolicies.proceedWithAllProblems(), - buildConfig.getJavaOptions(), + buildConfig.getOptions().getMap(), getBatchRequestor(), getProblemFactory()); @@ -872,10 +872,9 @@ public class AjBuildManager implements IOutputClassFileNameProvider,IBinarySourc AjLookupEnvironment le = new AjLookupEnvironment(forCompiler, forCompiler.options, pr, environment); - EclipseFactory factory = new EclipseFactory(le); + EclipseFactory factory = new EclipseFactory(le,this); le.factory = factory; pr.factory = factory; - le.factory.buildManager = this; forCompiler.lookupEnvironment = le; |