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 2014/04/15 14:09:36 UTC

svn commit: r1587540 - /ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/internal/eclipse/cpcontainer/IvyClasspathContainerMapper.java

Author: hibou
Date: Tue Apr 15 12:09:36 2014
New Revision: 1587540

URL: http://svn.apache.org/r1587540
Log:
stick with the API 2.3 of Ivy

Modified:
    ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/internal/eclipse/cpcontainer/IvyClasspathContainerMapper.java

Modified: ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/internal/eclipse/cpcontainer/IvyClasspathContainerMapper.java
URL: http://svn.apache.org/viewvc/ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/internal/eclipse/cpcontainer/IvyClasspathContainerMapper.java?rev=1587540&r1=1587539&r2=1587540&view=diff
==============================================================================
--- ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/internal/eclipse/cpcontainer/IvyClasspathContainerMapper.java (original)
+++ ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/internal/eclipse/cpcontainer/IvyClasspathContainerMapper.java Tue Apr 15 12:09:36 2014
@@ -132,7 +132,10 @@ public class IvyClasspathContainerMapper
                     } else {
                         try {
                             BundleInfo bundleInfo = ManifestParser.parseManifest(manifestFile);
-                            if (bundleInfo.hasInnerClasspath()) {
+                            if (bundleInfo.getClasspath() == null) {
+                                // no inner classpath : a simple entry
+                                paths.add(buildEntry(artifact, ""));
+                            } else {
                                 for (String innerPath : bundleInfo.getClasspath()) {
                                     paths.add(buildEntry(artifact, "/" + innerPath));
                                 }