felipeal 2004/10/23 22:10:22
Modified: integration/maven plugin.jelly
Log:
CACTUS-128 - Extended cactus.sysproperties property to the cactus:match and
cactus:single goals (thanks Maxwell Grender-Jones for the patch)
Revision Changes Path
1.35 +14 -0 jakarta-cactus/integration/maven/plugin.jelly
Index: plugin.jelly
===================================================================
RCS file: /home/cvs/jakarta-cactus/integration/maven/plugin.jelly,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -r1.34 -r1.35
--- plugin.jelly 14 Oct 2004 03:26:23 -0000 1.34
+++ plugin.jelly 24 Oct 2004 05:10:22 -0000 1.35
@@ -560,6 +560,13 @@
failureproperty="cactustests.failure"
printsummary="${cactus.printsummary}">
+ <!-- Pass any user-defined system properties -->
+ <util:tokenize var="listOfProperties" delim="
">${cactus.sysproperties}</util:tokenize>
+ <j:forEach var="someProperty" items="${listOfProperties}">
+ <ant:sysproperty key="${someProperty}"
+ value="${context.getVariable(someProperty)}"/>
+ </j:forEach>
+
<!-- Configure the cactus task for logging -->
<j:if test="${context.getVariable('cactus.logging.config.client') != null}">
<cactusproperty server="false"
@@ -730,6 +737,13 @@
errorproperty="cactustests.error"
failureproperty="cactustests.failure"
printsummary="${cactus.printsummary}">
+
+ <!-- Pass any user-defined system properties -->
+ <util:tokenize var="listOfProperties" delim="
">${cactus.sysproperties}</util:tokenize>
+ <j:forEach var="someProperty" items="${listOfProperties}">
+ <ant:sysproperty key="${someProperty}"
+ value="${context.getVariable(someProperty)}"/>
+ </j:forEach>
<!-- Configure the cactus task for logging -->
<j:if test="${context.getVariable('cactus.logging.config.client') != null}">
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]