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/03 16:30:24 UTC

svn commit: r1088314 - in /ant/ivy/ivyde/trunk: org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/cpcontainer/IvyClasspathContainerMapper.java test/fakerepo/myorg/ivydens/ivy-1.1.xml

Author: hibou
Date: Sun Apr  3 14:30:23 2011
New Revision: 1088314

URL: http://svn.apache.org/viewvc?rev=1088314&view=rev
Log:
IVYDE-267:
 - use source rather than sources to be more consistent with other predefined constant like the type

Modified:
    ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/cpcontainer/IvyClasspathContainerMapper.java
    ant/ivy/ivyde/trunk/test/fakerepo/myorg/ivydens/ivy-1.1.xml

Modified: ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/cpcontainer/IvyClasspathContainerMapper.java
URL: http://svn.apache.org/viewvc/ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/cpcontainer/IvyClasspathContainerMapper.java?rev=1088314&r1=1088313&r2=1088314&view=diff
==============================================================================
--- ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/cpcontainer/IvyClasspathContainerMapper.java (original)
+++ ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/cpcontainer/IvyClasspathContainerMapper.java Sun Apr  3 14:30:23 2011
@@ -184,7 +184,7 @@ public class IvyClasspathContainerMapper
 
     private ArtifactMatcher sourceArtifactMatcher = new ArtifactMatcher() {
         public boolean matchName(Artifact artifact, String source) {
-            return isArtifactName(artifact, source, conf.getInheritedSourceSuffixes(), "sources");
+            return isArtifactName(artifact, source, conf.getInheritedSourceSuffixes(), "source");
         }
 
         public boolean match(Artifact a) {

Modified: ant/ivy/ivyde/trunk/test/fakerepo/myorg/ivydens/ivy-1.1.xml
URL: http://svn.apache.org/viewvc/ant/ivy/ivyde/trunk/test/fakerepo/myorg/ivydens/ivy-1.1.xml?rev=1088314&r1=1088313&r2=1088314&view=diff
==============================================================================
--- ant/ivy/ivyde/trunk/test/fakerepo/myorg/ivydens/ivy-1.1.xml (original)
+++ ant/ivy/ivyde/trunk/test/fakerepo/myorg/ivydens/ivy-1.1.xml Sun Apr  3 14:30:23 2011
@@ -29,7 +29,7 @@
 		<conf name="default" visibility="public"/>
 	</configurations>
 	<publications>
-		<artifact name="ivydens"        type="jar"     ext="jar" conf="default" ivyde:sources="sources-to-map" ivyde:javadoc="javadoc-to-map" />
+		<artifact name="ivydens"        type="jar"     ext="jar" conf="default" ivyde:source="sources-to-map" ivyde:javadoc="javadoc-to-map" />
         <artifact name="sources-to-map" type="source"  ext="jar" conf="default"/>
         <artifact name="ivydens"        type="source"  ext="jar" conf="default"/>
         <artifact name="javadoc-to-map" type="javadoc" ext="jar" conf="default"/>