ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xav...@apache.org
Subject svn commit: r649005 - /ant/ivy/core/trunk/src/java/org/apache/ivy/core/event/resolve/EndResolveDependencyEvent.java
Date Thu, 17 Apr 2008 08:39:02 GMT
Author: xavier
Date: Thu Apr 17 01:39:00 2008
New Revision: 649005

URL: http://svn.apache.org/viewvc?rev=649005&view=rev
Log:
add module descriptor extra attributes in post resolve dependency

Modified:
    ant/ivy/core/trunk/src/java/org/apache/ivy/core/event/resolve/EndResolveDependencyEvent.java

Modified: ant/ivy/core/trunk/src/java/org/apache/ivy/core/event/resolve/EndResolveDependencyEvent.java
URL: http://svn.apache.org/viewvc/ant/ivy/core/trunk/src/java/org/apache/ivy/core/event/resolve/EndResolveDependencyEvent.java?rev=649005&r1=649004&r2=649005&view=diff
==============================================================================
--- ant/ivy/core/trunk/src/java/org/apache/ivy/core/event/resolve/EndResolveDependencyEvent.java
(original)
+++ ant/ivy/core/trunk/src/java/org/apache/ivy/core/event/resolve/EndResolveDependencyEvent.java
Thu Apr 17 01:39:00 2008
@@ -39,6 +39,11 @@
             // override revision from the dependency descriptor
             addAttribute("revision", this.module.getDescriptor().getResolvedModuleRevisionId()
                     .getRevision());
+            // now that we have loaded the dependency descriptor, we can put the extra attributes
+            // contained in the descriptor too
+            addAttributes(
+                this.module.getDescriptor().getResolvedModuleRevisionId().getExtraAttributes());
+            
             addAttribute("resolved", "true");
         } else {
             addAttribute("resolved", "false");



Mime
View raw message