jvanzyl 01/09/02 09:27:23
Modified: proposal/maven/src/templates build.vm
Log:
- create individual targets so that a single project can be updated,
and have a target that uses <antcall/> to execute all the individual
targets.
Revision Changes Path
1.2 +7 -3 jakarta-alexandria/proposal/maven/src/templates/build.vm
Index: build.vm
===================================================================
RCS file: /home/cvs/jakarta-alexandria/proposal/maven/src/templates/build.vm,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- build.vm 2001/08/27 16:35:05 1.1
+++ build.vm 2001/09/02 16:27:23 1.2
@@ -8,21 +8,25 @@
<!-- -->
<!-- ===================================================================== -->
-<target name="cvs-checkout">
+<target name="co-all">
+#foreach ($module in $workspace.modules)
+ <antcall target="co-$module.name"/>
+#end
+</target>
#foreach ($module in $workspace.modules)
+<target name="co-$module.name">
#set ($repo = $module.Repository)
#if ($module.Cvsdir)#set ($cvsDir = "/$module.Cvsdir")#end
#if ($module.cvsHostPrefix)#set ($hostPrefix = "$module.cvsHostPrefix.")#end
- <!-- $module.name -->
<cvs
cvsRoot=":$repo.Method:$repo.User@$!hostPrefix$repo.Hostname:$repo.Path$!cvsDir"
package="$module.Name"
dest="$workspace.workDir"
/>
+</target>
#end
-</target>
<!-- ===================================================================== -->
<!-- -->
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]