felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dsav...@apache.org
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 GMT
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 )
                 {



Mime
View raw message