ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hi...@apache.org
Subject svn commit: r1306500 - /ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/retrieve/StandaloneRetrieveSerializer.java
Date Wed, 28 Mar 2012 17:44:31 GMT
Author: hibou
Date: Wed Mar 28 17:44:31 2012
New Revision: 1306500

URL: http://svn.apache.org/viewvc?rev=1306500&view=rev
Log:
Fix project specific settings for standalone retrieve

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=1306500&r1=1306499&r2=1306500&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
Wed Mar 28 17:44:31 2012
@@ -98,9 +98,11 @@ public class StandaloneRetrieveSerialize
                 attr.setValue(setup.getName());
                 attributes.setNamedItem(attr);
 
-                Node settingsNode = document.createElement(IVYSETTINGS);
-                node.appendChild(settingsNode);
-                writeSettingsSetup(document, settingsNode, setup.getSettingsSetup());
+                if (setup.isSettingProjectSpecific()) {
+                    Node settingsNode = document.createElement(IVYSETTINGS);
+                    node.appendChild(settingsNode);
+                    writeSettingsSetup(document, settingsNode, setup.getSettingsSetup());
+                }
 
                 Node ivyxmlNode = document.createElement(IVYXML);
                 node.appendChild(ivyxmlNode);



Mime
View raw message