jvanzyl 02/04/17 14:17:30
Modified: src/templates/reactor build.vm
Log:
Adding dependencies to the build targets so that the sources are updated.
This can be conditional but will work for testing.
Revision Changes Path
1.5 +11 -4 jakarta-turbine-maven/src/templates/reactor/build.vm
Index: build.vm
===================================================================
RCS file: /home/cvs/jakarta-turbine-maven/src/templates/reactor/build.vm,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- build.vm 17 Apr 2002 21:11:32 -0000 1.4
+++ build.vm 17 Apr 2002 21:17:30 -0000 1.5
@@ -8,14 +8,16 @@
<!-- -->
<!-- ===================================================================== -->
-<target name="co-all">
+<target
+ name="co-all">
#foreach ($project in $workspace.profile.projects)
<antcall target="co-$project.name"/>
#end
</target>
#foreach ($project in $workspace.profile.projects)
-<target name="co-$project.name">
+<target
+ name="co-$project.name">
##if ($project.isAvailableAsSource())
<cvs
cvsRoot="$project.cvsRoot"
@@ -33,7 +35,10 @@
<!-- -->
<!-- ===================================================================== -->
-<target name="build-all">
+<target
+ name="build-all"
+ depends="co-all">
+
##if ($project.isAvailableAsSource())
#foreach ($project in $workspace.profile.projects)
<antcall target="build-$project.name">
@@ -43,7 +48,9 @@
#foreach ($project in $workspace.profile.projects)
##if ($project.isAvailableAsSource())
-<target name="build-$project.name">
+<target
+ name="build-$project.name"
+ depends="co-$project.name">
#if
($files.file("$workspace.baseDirectory/$project.module/build-maven.xml").exists())
#set ($buildFile = "$workspace.baseDirectory/$project.module/build-maven.xml")
#else