tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rf...@apache.org
Subject svn commit: r711981 - /tuscany/branches/sca-equinox/tools/maven/maven-eclipse-compiler/src/main/java/org/apache/tuscany/sca/tools/maven/compiler/JavaCompiler.java
Date Thu, 06 Nov 2008 21:26:48 GMT
Author: rfeng
Date: Thu Nov  6 13:26:38 2008
New Revision: 711981

URL: http://svn.apache.org/viewvc?rev=711981&view=rev
Log:
Minor clean up

Modified:
    tuscany/branches/sca-equinox/tools/maven/maven-eclipse-compiler/src/main/java/org/apache/tuscany/sca/tools/maven/compiler/JavaCompiler.java

Modified: tuscany/branches/sca-equinox/tools/maven/maven-eclipse-compiler/src/main/java/org/apache/tuscany/sca/tools/maven/compiler/JavaCompiler.java
URL: http://svn.apache.org/viewvc/tuscany/branches/sca-equinox/tools/maven/maven-eclipse-compiler/src/main/java/org/apache/tuscany/sca/tools/maven/compiler/JavaCompiler.java?rev=711981&r1=711980&r2=711981&view=diff
==============================================================================
--- tuscany/branches/sca-equinox/tools/maven/maven-eclipse-compiler/src/main/java/org/apache/tuscany/sca/tools/maven/compiler/JavaCompiler.java
(original)
+++ tuscany/branches/sca-equinox/tools/maven/maven-eclipse-compiler/src/main/java/org/apache/tuscany/sca/tools/maven/compiler/JavaCompiler.java
Thu Nov  6 13:26:38 2008
@@ -21,8 +21,6 @@
 
 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_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 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 @@
         ICompilerRequestor requestor = new CompilerRequestor(configuration.getOutputLocation(),
configuration.isShowWarnings(), compilerErrors);
         Compiler compiler = new Compiler(nameEnvironment,
                                          proceedWithAllProblems(),
-                                         settings,
+                                         new CompilerOptions(settings),
                                          requestor,
                                          new DefaultProblemFactory(Locale.getDefault()));
 



Mime
View raw message