commit | f0a483cb426a8413fb3895ef5d0e7393a2aa5317 | [log] [tgz] |
---|---|---|
author | David Morgan Spencer Savage <dsavage@apache.org> | Wed Sep 08 12:51:41 2010 +0000 |
committer | David Morgan Spencer Savage <dsavage@apache.org> | Wed Sep 08 12:51:41 2010 +0000 |
tree | de6ba190f7faac0cdc7cde7616fca5792d137d68 | |
parent | b506d79ed6e63414d720fd809b3f28ddfd72a577 [diff] |
handle variable source path FELIX-2586 git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@995036 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 e4ac348..b001f38 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
@@ -451,8 +451,13 @@ IPath path = JavaCore.getResolvedVariablePath(e.getPath()); if (path != null) { + IPath spath = e.getSourceAttachmentPath(); + if (spath != null) { + spath = JavaCore.getResolvedVariablePath(spath); + } + entries.add(JavaCore.newLibraryEntry(path, - e.getSourceAttachmentPath(), e.getSourceAttachmentRootPath(), + spath, e.getSourceAttachmentRootPath(), rules, attributes, export)); } break;