ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From maart...@apache.org
Subject svn commit: r743088 - /ant/ivy/core/trunk/src/java/org/apache/ivy/core/module/descriptor/DefaultModuleDescriptor.java
Date Tue, 10 Feb 2009 20:29:38 GMT
Author: maartenc
Date: Tue Feb 10 20:29:38 2009
New Revision: 743088

URL: http://svn.apache.org/viewvc?rev=743088&view=rev
Log:
Improved the error message when adding an artifact in an unknown configuration.

Modified:
    ant/ivy/core/trunk/src/java/org/apache/ivy/core/module/descriptor/DefaultModuleDescriptor.java

Modified: ant/ivy/core/trunk/src/java/org/apache/ivy/core/module/descriptor/DefaultModuleDescriptor.java
URL: http://svn.apache.org/viewvc/ant/ivy/core/trunk/src/java/org/apache/ivy/core/module/descriptor/DefaultModuleDescriptor.java?rev=743088&r1=743087&r2=743088&view=diff
==============================================================================
--- ant/ivy/core/trunk/src/java/org/apache/ivy/core/module/descriptor/DefaultModuleDescriptor.java
(original)
+++ ant/ivy/core/trunk/src/java/org/apache/ivy/core/module/descriptor/DefaultModuleDescriptor.java
Tue Feb 10 20:29:38 2009
@@ -338,7 +338,7 @@
     public void addArtifact(String conf, Artifact artifact) {
         if (!configurations.containsKey(conf)) {
             throw new IllegalArgumentException("Configuration '" + conf
-                    + "' doesn't exist in module " + this);
+                    + "' doesn't exist in module " + revId);
         }
 
         Collection artifacts = (Collection) artifactsByConf.get(conf);



Mime
View raw message