diff options
author | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2008-11-06 21:26:38 +0000 |
---|---|---|
committer | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2008-11-06 21:26:38 +0000 |
commit | e5f97bebac80fcf69e2be37ed562b0692ec26e6e (patch) | |
tree | 3da75e0454edcf240e4239543fbc16643f57fea7 /branches/sca-equinox | |
parent | dd192fdca891a6cb4503b50a42cf2357260f58bb (diff) |
Minor clean up
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@711981 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'branches/sca-equinox')
-rw-r--r-- | branches/sca-equinox/tools/maven/maven-eclipse-compiler/src/main/java/org/apache/tuscany/sca/tools/maven/compiler/JavaCompiler.java | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/branches/sca-equinox/tools/maven/maven-eclipse-compiler/src/main/java/org/apache/tuscany/sca/tools/maven/compiler/JavaCompiler.java b/branches/sca-equinox/tools/maven/maven-eclipse-compiler/src/main/java/org/apache/tuscany/sca/tools/maven/compiler/JavaCompiler.java index 536a249255..2bc96137b8 100644 --- a/branches/sca-equinox/tools/maven/maven-eclipse-compiler/src/main/java/org/apache/tuscany/sca/tools/maven/compiler/JavaCompiler.java +++ b/branches/sca-equinox/tools/maven/maven-eclipse-compiler/src/main/java/org/apache/tuscany/sca/tools/maven/compiler/JavaCompiler.java @@ -21,8 +21,6 @@ package org.apache.tuscany.sca.tools.maven.compiler; import static org.codehaus.plexus.compiler.CompilerOutputStyle.ONE_OUTPUT_FILE_PER_INPUT_FILE; import static org.eclipse.jdt.internal.compiler.DefaultErrorHandlingPolicies.proceedWithAllProblems; -import static org.eclipse.jdt.internal.compiler.impl.CompilerOptions.DISABLED; -import static org.eclipse.jdt.internal.compiler.impl.CompilerOptions.ENABLED; import static org.eclipse.jdt.internal.compiler.impl.CompilerOptions.GENERATE; import static org.eclipse.jdt.internal.compiler.impl.CompilerOptions.IGNORE; import static org.eclipse.jdt.internal.compiler.impl.CompilerOptions.OPTION_Encoding; @@ -31,7 +29,6 @@ import static org.eclipse.jdt.internal.compiler.impl.CompilerOptions.OPTION_Loca import static org.eclipse.jdt.internal.compiler.impl.CompilerOptions.OPTION_ReportDeprecation; import static org.eclipse.jdt.internal.compiler.impl.CompilerOptions.OPTION_Source; import static org.eclipse.jdt.internal.compiler.impl.CompilerOptions.OPTION_SourceFileAttribute; -import static org.eclipse.jdt.internal.compiler.impl.CompilerOptions.OPTION_SuppressWarnings; import static org.eclipse.jdt.internal.compiler.impl.CompilerOptions.OPTION_TargetPlatform; import static org.eclipse.jdt.internal.compiler.impl.CompilerOptions.WARNING; @@ -70,7 +67,7 @@ public class JavaCompiler extends AbstractCompiler { public List<CompilerError> compile(CompilerConfiguration configuration) throws CompilerException { - getLogger().info("Tuscany-Eclipse compiler"); + getLogger().info("Invoking Tuscany Eclipse JDT compiler"); List<URL> urls; try { @@ -115,7 +112,7 @@ public class JavaCompiler extends AbstractCompiler { ICompilerRequestor requestor = new CompilerRequestor(configuration.getOutputLocation(), configuration.isShowWarnings(), compilerErrors); Compiler compiler = new Compiler(nameEnvironment, proceedWithAllProblems(), - settings, + new CompilerOptions(settings), requestor, new DefaultProblemFactory(Locale.getDefault())); |