ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hi...@apache.org
Subject svn commit: r1157153 - /ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/retrieve/StandaloneRetrieveSerializer.java
Date Fri, 12 Aug 2011 15:18:40 GMT
Author: hibou
Date: Fri Aug 12 15:18:40 2011
New Revision: 1157153

URL: http://svn.apache.org/viewvc?rev=1157153&view=rev
Log:
fix standalone retrieve configured with property files

Modified:
    ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/retrieve/StandaloneRetrieveSerializer.java

Modified: ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/retrieve/StandaloneRetrieveSerializer.java
URL: http://svn.apache.org/viewvc/ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/retrieve/StandaloneRetrieveSerializer.java?rev=1157153&r1=1157152&r2=1157153&view=diff
==============================================================================
--- ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/retrieve/StandaloneRetrieveSerializer.java
(original)
+++ ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/retrieve/StandaloneRetrieveSerializer.java
Fri Aug 12 15:18:40 2011
@@ -147,7 +147,7 @@ public class StandaloneRetrieveSerialize
             String file = (String) it.next();
             Node pathNode = document.createElement(PROPERTYFILE);
             settingsNode.appendChild(pathNode);
-            attributes = settingsNode.getAttributes();
+            attributes = pathNode.getAttributes();
             attr = document.createAttribute(PROPERTYFILE_PATH);
             attr.setValue(file);
             attributes.setNamedItem(attr);
@@ -266,7 +266,7 @@ public class StandaloneRetrieveSerialize
         for (int j = 0; j != children.getLength(); j++) {
             Node item = children.item(j);
             if (item.getNodeName().equals(PROPERTYFILE)) {
-                attributes = node.getAttributes();
+                attributes = item.getAttributes();
 
                 path = getAttribute(attributes, PROPERTYFILE_PATH);
                 propertyFiles.add(path);



Mime
View raw message