You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by sm...@apache.org on 2008/03/24 12:43:58 UTC

svn commit: r640387 - /harmony/enhanced/buildtest/trunk/infra/scripts/config.xml

Author: smishura
Date: Mon Mar 24 04:43:57 2008
New Revision: 640387

URL: http://svn.apache.org/viewvc?rev=640387&view=rev
Log:
Flash to a suite's props file framework's properties too

Modified:
    harmony/enhanced/buildtest/trunk/infra/scripts/config.xml

Modified: harmony/enhanced/buildtest/trunk/infra/scripts/config.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/buildtest/trunk/infra/scripts/config.xml?rev=640387&r1=640386&r2=640387&view=diff
==============================================================================
--- harmony/enhanced/buildtest/trunk/infra/scripts/config.xml (original)
+++ harmony/enhanced/buildtest/trunk/infra/scripts/config.xml Mon Mar 24 04:43:57 2008
@@ -52,6 +52,7 @@
             <dirset dir="${adaptors.dir}" includes="${test.suites}" />
             <propertyset>
                 <propertyref name="all.props" />
+                <propertyref name="scripts.dir" />
                 <propertyref name="framework.local.configuration.file" />
                 <propertyset refid="global.build.parameters.id" />
             </propertyset>
@@ -99,19 +100,29 @@
 
         <echo>Generate config for: ${suite.name}</echo>
 
+        <!-- Load framework properties -->
+        <xmlproperty file="${scripts.dir}/parameters.xml"
+                     collapseAttributes="true"
+                     semanticAttributes="true"
+                     prefix="framework" />
+
+        <!-- Load suites properties -->
         <property file="${all.props}" />
+
+        <!-- Load local properties -->
         <loadproperties srcfile="${framework.local.configuration.file}">
             <filterchain>
                 <expandproperties />
                 <!-- workaround for windows paths: replace '\' with '/'
                      otherwise '\' is lost -->
-                <replaceregex pattern="\\" replace="/" flags="g"/>
+                <replaceregex pattern="\\" replace="/" flags="g" />
             </filterchain>
         </loadproperties>
 
         <echoproperties destfile="${config.dir}/${suite.name}.properties">
             <propertyset>
                 <propertyref prefix="${suite.name}" />
+                <propertyref prefix="framework" />
                 <!--propertyset refid="global.build.parameters.id" /-->
             </propertyset>
         </echoproperties>