felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dsav...@apache.org
Subject svn commit: r995036 - /felix/trunk/sigil/eclipse/core/src/org/apache/felix/sigil/eclipse/model/util/JavaHelper.java
Date Wed, 08 Sep 2010 12:51:42 GMT
Author: dsavage
Date: Wed Sep  8 12:51:41 2010
New Revision: 995036

URL: http://svn.apache.org/viewvc?rev=995036&view=rev
Log:
handle variable source path FELIX-2586

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=995036&r1=995035&r2=995036&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
Wed Sep  8 12:51:41 2010
@@ -451,8 +451,13 @@ public class JavaHelper
                     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;



Mime
View raw message