Return-Path: Delivered-To: apmail-ant-notifications-archive@minotaur.apache.org Received: (qmail 52587 invoked from network); 6 Apr 2011 12:17:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 6 Apr 2011 12:17:44 -0000 Received: (qmail 49869 invoked by uid 500); 6 Apr 2011 12:17:44 -0000 Delivered-To: apmail-ant-notifications-archive@ant.apache.org Received: (qmail 49836 invoked by uid 500); 6 Apr 2011 12:17:44 -0000 Mailing-List: contact notifications-help@ant.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ant.apache.org Delivered-To: mailing list notifications@ant.apache.org Received: (qmail 49829 invoked by uid 99); 6 Apr 2011 12:17:44 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Apr 2011 12:17:44 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Apr 2011 12:17:41 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id B96E023889C5; Wed, 6 Apr 2011 12:17:20 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1089419 - /ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/IvyDERuntimeClasspathEntryResolver.java Date: Wed, 06 Apr 2011 12:17:20 -0000 To: notifications@ant.apache.org From: hibou@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20110406121720.B96E023889C5@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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++) {