incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r760958 - in /incubator/sling/trunk/contrib/commons/compiler: ./ src/main/java/org/apache/sling/commons/compiler/ src/main/java/org/apache/sling/commons/compiler/impl/ src/test/java/org/apache/sling/commons/compiler/impl/
Date Wed, 01 Apr 2009 16:40:12 GMT
Author: cziegeler
Date: Wed Apr  1 16:40:11 2009
New Revision: 760958

URL: http://svn.apache.org/viewvc?rev=760958&view=rev
Log:
SLING-884 : Apply patch from Stefan Guggisberg for pom fixing and code cleanup.

Removed:
    incubator/sling/trunk/contrib/commons/compiler/src/test/java/org/apache/sling/commons/compiler/impl/EclipseJavaCompilerTest.java
Modified:
    incubator/sling/trunk/contrib/commons/compiler/pom.xml
    incubator/sling/trunk/contrib/commons/compiler/src/main/java/org/apache/sling/commons/compiler/CompilerEnvironment.java
    incubator/sling/trunk/contrib/commons/compiler/src/main/java/org/apache/sling/commons/compiler/impl/EclipseJavaCompiler.java

Modified: incubator/sling/trunk/contrib/commons/compiler/pom.xml
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/contrib/commons/compiler/pom.xml?rev=760958&r1=760957&r2=760958&view=diff
==============================================================================
--- incubator/sling/trunk/contrib/commons/compiler/pom.xml (original)
+++ incubator/sling/trunk/contrib/commons/compiler/pom.xml Wed Apr  1 16:40:11 2009
@@ -55,6 +55,9 @@
                 <extensions>true</extensions>
                 <configuration>
                     <instructions>
+                        <Import-Package>
+                            !org.eclipse.*,*
+                        </Import-Package>
                         <Export-Package>
                             org.apache.sling.commons.compiler;version=${pom.version}
                         </Export-Package>

Modified: incubator/sling/trunk/contrib/commons/compiler/src/main/java/org/apache/sling/commons/compiler/CompilerEnvironment.java
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/contrib/commons/compiler/src/main/java/org/apache/sling/commons/compiler/CompilerEnvironment.java?rev=760958&r1=760957&r2=760958&view=diff
==============================================================================
--- incubator/sling/trunk/contrib/commons/compiler/src/main/java/org/apache/sling/commons/compiler/CompilerEnvironment.java
(original)
+++ incubator/sling/trunk/contrib/commons/compiler/src/main/java/org/apache/sling/commons/compiler/CompilerEnvironment.java
Wed Apr  1 16:40:11 2009
@@ -30,14 +30,6 @@
     byte[] findClass(String className) throws Exception;
 
     /**
-     *
-     * @param className
-     * @return
-     * @throws Exception
-     */
-    char[] findSource(String className) throws Exception;
-
-    /**
      *  
      * @param packageName
      * @return

Modified: incubator/sling/trunk/contrib/commons/compiler/src/main/java/org/apache/sling/commons/compiler/impl/EclipseJavaCompiler.java
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/contrib/commons/compiler/src/main/java/org/apache/sling/commons/compiler/impl/EclipseJavaCompiler.java?rev=760958&r1=760957&r2=760958&view=diff
==============================================================================
--- incubator/sling/trunk/contrib/commons/compiler/src/main/java/org/apache/sling/commons/compiler/impl/EclipseJavaCompiler.java
(original)
+++ incubator/sling/trunk/contrib/commons/compiler/src/main/java/org/apache/sling/commons/compiler/impl/EclipseJavaCompiler.java
Wed Apr  1 16:40:11 2009
@@ -56,7 +56,7 @@
 public class EclipseJavaCompiler implements JavaCompiler {
 
     /** Logger instance */
-    private static final Logger log = LoggerFactory.getLogger(JavaCompiler.class);
+    private static final Logger log = LoggerFactory.getLogger(EclipseJavaCompiler.class);
 
     // the static problem factory
     private static IProblemFactory PROBLEM_FACTORY =



Mime
View raw message