Return-Path: Delivered-To: apmail-felix-commits-archive@www.apache.org Received: (qmail 94075 invoked from network); 29 Jul 2010 06:41:30 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 29 Jul 2010 06:41:30 -0000 Received: (qmail 6410 invoked by uid 500); 29 Jul 2010 06:41:30 -0000 Delivered-To: apmail-felix-commits-archive@felix.apache.org Received: (qmail 6323 invoked by uid 500); 29 Jul 2010 06:41:27 -0000 Mailing-List: contact commits-help@felix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@felix.apache.org Delivered-To: mailing list commits@felix.apache.org Received: (qmail 6315 invoked by uid 99); 29 Jul 2010 06:41:27 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Jul 2010 06:41:27 +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, 29 Jul 2010 06:41:26 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 4C13C2388980; Thu, 29 Jul 2010 06:40:10 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r980329 - /felix/trunk/sigil/eclipse/core/src/org/apache/felix/sigil/eclipse/model/util/JavaHelper.java Date: Thu, 29 Jul 2010 06:40:10 -0000 To: commits@felix.apache.org From: dsavage@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20100729064010.4C13C2388980@eris.apache.org> Author: dsavage Date: Thu Jul 29 06:40:09 2010 New Revision: 980329 URL: http://svn.apache.org/viewvc?rev=980329&view=rev Log: use PathUtil to get IPath from file - fix for FELIX-2488 Modified: felix/trunk/sigil/eclipse/core/src/org/apache/felix/sigil/eclipse/model/util/JavaHelper.java Modified: felix/trunk/sigil/eclipse/core/src/org/apache/felix/sigil/eclipse/model/util/JavaHelper.java URL: http://svn.apache.org/viewvc/felix/trunk/sigil/eclipse/core/src/org/apache/felix/sigil/eclipse/model/util/JavaHelper.java?rev=980329&r1=980328&r2=980329&view=diff ============================================================================== --- felix/trunk/sigil/eclipse/core/src/org/apache/felix/sigil/eclipse/model/util/JavaHelper.java (original) +++ felix/trunk/sigil/eclipse/core/src/org/apache/felix/sigil/eclipse/model/util/JavaHelper.java Thu Jul 29 06:40:09 2010 @@ -482,7 +482,7 @@ public class JavaHelper if ( entries == null ) { - Path path = new Path(bundle.getLocation().getAbsolutePath()); + IPath path = PathUtil.newPathIfExists(bundle.getLocation()); if ( path == null ) {