ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hi...@apache.org
Subject svn commit: r1587540 - /ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/internal/eclipse/cpcontainer/IvyClasspathContainerMapper.java
Date Tue, 15 Apr 2014 12:09:36 GMT
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));
                                 }



Mime
View raw message