Return-Path: Delivered-To: apmail-sling-commits-archive@www.apache.org Received: (qmail 75984 invoked from network); 13 Jan 2011 13:42:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 13 Jan 2011 13:42:40 -0000 Received: (qmail 94239 invoked by uid 500); 13 Jan 2011 13:42:40 -0000 Delivered-To: apmail-sling-commits-archive@sling.apache.org Received: (qmail 94156 invoked by uid 500); 13 Jan 2011 13:42:38 -0000 Mailing-List: contact commits-help@sling.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@sling.apache.org Delivered-To: mailing list commits@sling.apache.org Received: (qmail 94144 invoked by uid 99); 13 Jan 2011 13:42:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Jan 2011 13:42:37 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Jan 2011 13:42:37 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 2644D2388A44; Thu, 13 Jan 2011 13:42:11 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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 -0000 To: commits@sling.apache.org From: cziegeler@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20110113134211.2644D2388A44@eris.apache.org> 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(); } } }