You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ace.apache.org by ma...@apache.org on 2014/02/27 12:37:43 UTC

svn commit: r1572526 - in /ace/trunk/run-server-allinone/scripts: addtargets.gogo setup.gogo

Author: marrs
Date: Thu Feb 27 11:37:42 2014
New Revision: 1572526

URL: http://svn.apache.org/r1572526
Log:
Auto approves targets.

Modified:
    ace/trunk/run-server-allinone/scripts/addtargets.gogo
    ace/trunk/run-server-allinone/scripts/setup.gogo

Modified: ace/trunk/run-server-allinone/scripts/addtargets.gogo
URL: http://svn.apache.org/viewvc/ace/trunk/run-server-allinone/scripts/addtargets.gogo?rev=1572526&r1=1572525&r2=1572526&view=diff
==============================================================================
--- ace/trunk/run-server-allinone/scripts/addtargets.gogo (original)
+++ ace/trunk/run-server-allinone/scripts/addtargets.gogo Thu Feb 27 11:37:42 2014
@@ -16,7 +16,7 @@ t = (currentTimeMillis)
 # create targets
 each [0 1 2 3 4 5 6 7 8 9] {
 	$w cd2t '(name=dist-'$it')' '(id=target-extra-'$t$it')'
-	$w ct [id='target-extra-'$t$it] [prop01=test prop02=another prop03=value]
+	($w ct [id='target-extra-'$t$it autoapprove=true] [prop01=test prop02=another prop03=value]) setautoapprove true
 }
 
 # commit and delete the workspace

Modified: ace/trunk/run-server-allinone/scripts/setup.gogo
URL: http://svn.apache.org/viewvc/ace/trunk/run-server-allinone/scripts/setup.gogo?rev=1572526&r1=1572525&r2=1572526&view=diff
==============================================================================
--- ace/trunk/run-server-allinone/scripts/setup.gogo (original)
+++ ace/trunk/run-server-allinone/scripts/setup.gogo Thu Feb 27 11:37:42 2014
@@ -23,7 +23,7 @@ each [0 1 2 3 4 5 6 7 8 9] {
 	$w cd 'dist-'$it
 	$w cd2t '(name=dist-'$a')' '(id=target-'$a')'
 	echo 'Creating target '$a' ...'
-	$w ct [id='target-'$a] [common=value 'prop'$a'1'=foo 'prop'$a'2'=bar 'prop'$a'3'=qux]	
+	($w ct [id='target-'$a] [common=value 'prop'$a'1'=foo 'prop'$a'2'=bar 'prop'$a'3'=qux]) setautoapprove true
 }
 
 # create 1000 artifacts and link them to the 10 features...