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/28 11:29:23 UTC

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

Author: marrs
Date: Fri Feb 28 10:29:23 2014
New Revision: 1572908

URL: http://svn.apache.org/r1572908
Log:
Small improvements to the scripts, setting autoapprove.

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=1572908&r1=1572907&r2=1572908&view=diff
==============================================================================
--- ace/trunk/run-server-allinone/scripts/addtargets.gogo (original)
+++ ace/trunk/run-server-allinone/scripts/addtargets.gogo Fri Feb 28 10:29:23 2014
@@ -15,8 +15,8 @@ t = (currentTimeMillis)
 
 # create targets
 each [0 1 2 3 4 5 6 7 8 9] {
+	($w ct [id='target-extra-'$t$it] [prop01=test prop02=another prop03=value]) setautoapprove true
 	$w cd2t '(name=dist-'$it')' '(id=target-extra-'$t$it')'
-	($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=1572908&r1=1572907&r2=1572908&view=diff
==============================================================================
--- ace/trunk/run-server-allinone/scripts/setup.gogo (original)
+++ ace/trunk/run-server-allinone/scripts/setup.gogo Fri Feb 28 10:29:23 2014
@@ -16,14 +16,12 @@ $w ca 'file:'$pwd'/../cnf/localrepo/org.
 each [0 1 2 3 4 5 6 7 8 9] {
 	a = $it
 	
-	echo 'Creating feature '$a' ...'
+	echo 'Creating feature, distribution and target '$a' ...'
 	$w cf 'feature-'$it
-	$w cf2d '(name=feature-'$a')' '(name=dist-'$a')'
-	echo 'Creating distribution '$a' ...'
 	$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]) setautoapprove true
+	$w cf2d '(name=feature-'$a')' '(name=dist-'$a')'
+	$w cd2t '(name=dist-'$a')' '(id=target-'$a')'
 }
 
 # create 1000 artifacts and link them to the 10 features...