harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From smish...@apache.org
Subject svn commit: r641181 - /harmony/enhanced/buildtest/trunk/infra/scripts/config.xml
Date Wed, 26 Mar 2008 07:16:23 GMT
Author: smishura
Date: Wed Mar 26 00:16:22 2008
New Revision: 641181

URL: http://svn.apache.org/viewvc?rev=641181&view=rev
Log:
Add short form for shared parameters

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=641181&r1=641180&r2=641181&view=diff
==============================================================================
--- harmony/enhanced/buildtest/trunk/infra/scripts/config.xml (original)
+++ harmony/enhanced/buildtest/trunk/infra/scripts/config.xml Wed Mar 26 00:16:22 2008
@@ -128,7 +128,9 @@
             </propertyset>
 
             <!-- IMHO: the forms below may cause properties names
-                 conflicts that is hard to detect/guess
+                 conflicts that is hard to detect/guess:
+                 - simple form: without parameters.(required|shared) prefix
+                 - short  form: ${suite.name}.<simple form>
                  This is BAD and should be fixed -->
 
             <!-- required parameters in simple form (used by adaptors) -->
@@ -150,6 +152,13 @@
                 <propertyref regex="${suite.name}\.parameters\.shared" />
                 <regexpmapper from="${suite.name}\.parameters\.shared\.(.*)$"
                               to="\1" />
+            </propertyset>
+
+            <!-- shared parameters in short form (used by adaptors) -->
+            <propertyset>
+                <propertyref regex="${suite.name}\.parameters\.shared" />
+                <regexpmapper from="${suite.name}\.parameters\.shared\.(.*)$"
+                              to="${suite.name}.\1" />
             </propertyset>
         </echoproperties>
     </target>



Mime
View raw message