mail[Wesnoth-commits] r43914 - /trunk/utils/java/eclipse_plugin/src/wesnoth_eclipse_plugin/wizards/TemplateProvider.java


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by timotei_cluj on July 04, 2010 - 22:26:
Author: timotei
Date: Sun Jul  4 22:26:14 2010
New Revision: 43914

URL: http://svn.gna.org/viewcvs/wesnoth?rev=43914&view=rev
Log:
eclipse plugin: temporary fix for xml-type files comments on empty parameters

Modified:
    
trunk/utils/java/eclipse_plugin/src/wesnoth_eclipse_plugin/wizards/TemplateProvider.java

Modified: 
trunk/utils/java/eclipse_plugin/src/wesnoth_eclipse_plugin/wizards/TemplateProvider.java
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/utils/java/eclipse_plugin/src/wesnoth_eclipse_plugin/wizards/TemplateProvider.java?rev=43914&r1=43913&r2=43914&view=diff
==============================================================================
--- 
trunk/utils/java/eclipse_plugin/src/wesnoth_eclipse_plugin/wizards/TemplateProvider.java
 (original)
+++ 
trunk/utils/java/eclipse_plugin/src/wesnoth_eclipse_plugin/wizards/TemplateProvider.java
 Sun Jul  4 22:26:14 2010
@@ -103,7 +103,7 @@
                                {
                                        template[i] = 
template[i].replace(param.paramName, param.paramValue);
 
-                                       if (param.paramValue == null || 
param.paramValue.isEmpty())
+                                       if ((templateName!= "build_xml") && 
(param.paramValue == null || param.paramValue.isEmpty()))
                                        {
                                                // we don't have any value 
supplied -
                                                // let's comment that line 
(if it's not already




Related Messages


Powered by MHonArc, Updated Sun Jul 04 22:40:06 2010