You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by hi...@apache.org on 2011/04/06 14:17:20 UTC

svn commit: r1089419 - /ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/IvyDERuntimeClasspathEntryResolver.java

Author: hibou
Date: Wed Apr  6 12:17:20 2011
New Revision: 1089419

URL: http://svn.apache.org/viewvc?rev=1089419&view=rev
Log:
IVYDE-277:
 - potential fix: more than just the paths to the .class file to the dependant project, also add the project itself. Seems useless (hopefully not harmful) to compute the runtime classpath, but helps the source path lookup.

Modified:
    ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/IvyDERuntimeClasspathEntryResolver.java

Modified: ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/IvyDERuntimeClasspathEntryResolver.java
URL: http://svn.apache.org/viewvc/ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/IvyDERuntimeClasspathEntryResolver.java?rev=1089419&r1=1089418&r2=1089419&view=diff
==============================================================================
--- ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/IvyDERuntimeClasspathEntryResolver.java (original)
+++ ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/IvyDERuntimeClasspathEntryResolver.java Wed Apr  6 12:17:20 2011
@@ -107,6 +107,7 @@ public class IvyDERuntimeClasspathEntryR
                     projects.add(jp);
                     IRuntimeClasspathEntry classpath = JavaRuntime
                             .newProjectRuntimeClasspathEntry(jp);
+                    resolved.add(classpath);
                     IRuntimeClasspathEntry[] entries = JavaRuntime.resolveRuntimeClasspathEntry(
                         classpath, jp);
                     for (int j = 0; j < entries.length; j++) {