incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r1058549 - /sling/trunk/contrib/commons/compiler/src/main/java/org/apache/sling/commons/compiler/impl/EclipseJavaCompiler.java
Date Thu, 13 Jan 2011 13:42:11 GMT
Author: cziegeler
Date: Thu Jan 13 13:42:10 2011
New Revision: 1058549

URL: http://svn.apache.org/viewvc?rev=1058549&view=rev
Log:
SLING-1930 : Compilation message contains only class name without package information

Modified:
    sling/trunk/contrib/commons/compiler/src/main/java/org/apache/sling/commons/compiler/impl/EclipseJavaCompiler.java

Modified: sling/trunk/contrib/commons/compiler/src/main/java/org/apache/sling/commons/compiler/impl/EclipseJavaCompiler.java
URL: http://svn.apache.org/viewvc/sling/trunk/contrib/commons/compiler/src/main/java/org/apache/sling/commons/compiler/impl/EclipseJavaCompiler.java?rev=1058549&r1=1058548&r2=1058549&view=diff
==============================================================================
--- sling/trunk/contrib/commons/compiler/src/main/java/org/apache/sling/commons/compiler/impl/EclipseJavaCompiler.java
(original)
+++ sling/trunk/contrib/commons/compiler/src/main/java/org/apache/sling/commons/compiler/impl/EclipseJavaCompiler.java
Thu Jan 13 13:42:10 2011
@@ -497,7 +497,7 @@ public class EclipseJavaCompiler impleme
          * @see org.eclipse.jdt.internal.compiler.env.IDependent#getFileName()
          */
         public char[] getFileName() {
-            return (this.mainTypeName + ".java").toCharArray();
+            return (this.packageName + '.' + this.mainTypeName + ".java").toCharArray();
         }
     }
 }



Mime
View raw message