harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From smish...@apache.org
Subject svn commit: r647055 - /harmony/enhanced/buildtest/trunk/infra/scripts/cc-project.xml
Date Fri, 11 Apr 2008 05:50:58 GMT
Author: smishura
Date: Thu Apr 10 22:50:53 2008
New Revision: 647055

URL: http://svn.apache.org/viewvc?rev=647055&view=rev
Log:
Minor correction

Modified:
    harmony/enhanced/buildtest/trunk/infra/scripts/cc-project.xml

Modified: harmony/enhanced/buildtest/trunk/infra/scripts/cc-project.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/buildtest/trunk/infra/scripts/cc-project.xml?rev=647055&r1=647054&r2=647055&view=diff
==============================================================================
--- harmony/enhanced/buildtest/trunk/infra/scripts/cc-project.xml (original)
+++ harmony/enhanced/buildtest/trunk/infra/scripts/cc-project.xml Thu Apr 10 22:50:53 2008
@@ -47,26 +47,14 @@
                     </or>
                 </condition>
 
-                <delete file="${@{suite.name}.parameters.cc.file.location}"/>
-
-                <if><!-- check for custom configuration file -->
-                    <isset property="@{suite.name}.parameters.cc.config"/>
-                <then>
-                    <!-- use custom -->
-                    <log message="Generating CC config on the base of custom CC config
template: ${@{suite.name}.parameters.cc.config}"/>
-
-                    <copy file="${@{suite.name}.parameters.cc.config}" 
-                          tofile="${@{suite.name}.parameters.cc.file.location}"/>
-                </then>
-                <else>
-                    <!-- use custom -->
-                    <log message="Generating CC config on the base of default CC template:
${cc.project.template}"/>
-
-                    <!-- use dafault cc config template -->
-                    <copy file="${cc.project.template}" 
-                          tofile="${@{suite.name}.parameters.cc.file.location}"/>
-                </else>
-                </if>
+                <!-- copy configuration file
+                     in case of custom configuration file
+                     the property is already set
+                -->
+                <property name="@{suite.name}.parameters.cc.config"
+                          value="${cc.project.template}" />
+                <copy file="${@{suite.name}.parameters.cc.config}" 
+                      tofile="${@{suite.name}.parameters.cc.file.location}"/>
 
                 <!-- ======================================================= -->
                 <!--    Do CC-Config Template Filling (Tag Substitutions)    -->



Mime
View raw message