commit | cba260f9b7a1f83f9e792c429446ff067832c3c4 | [log] [tgz] |
---|---|---|
author | David Morgan Spenser Savage <dsavage@apache.org> | Thu Jul 29 06:40:09 2010 +0000 |
committer | David Morgan Spenser Savage <dsavage@apache.org> | Thu Jul 29 06:40:09 2010 +0000 |
tree | 957a3433cb5397fe196d47b1435f60126efa0b01 | |
parent | d8f351a84554d8e2578b91874e8434b2b669ccc1 [diff] |
use PathUtil to get IPath from file - fix for FELIX-2488 git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@980329 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/sigil/eclipse/core/src/org/apache/felix/sigil/eclipse/model/util/JavaHelper.java b/sigil/eclipse/core/src/org/apache/felix/sigil/eclipse/model/util/JavaHelper.java index dd49f0b..901904b 100644 --- a/sigil/eclipse/core/src/org/apache/felix/sigil/eclipse/model/util/JavaHelper.java +++ b/sigil/eclipse/core/src/org/apache/felix/sigil/eclipse/model/util/JavaHelper.java
@@ -482,7 +482,7 @@ if ( entries == null ) { - Path path = new Path(bundle.getLocation().getAbsolutePath()); + IPath path = PathUtil.newPathIfExists(bundle.getLocation()); if ( path == null ) {