brekke 02/03/25 13:55:07
Modified: . build-bootstrap.xml
Log:
To aid in helping make the bootstrap process easier and not resort to shell
scripts, added a bootstrap target that does all the steps in order, through
installing it on the local machine.
Split out the project-map stuff to a seperate target since not everyone will
have alexandria checked out.
If this bootstrap target is useful it could become the default target for
the build-boostrap.xml
Revision Changes Path
1.51 +24 -2 jakarta-turbine-maven/build-bootstrap.xml
Index: build-bootstrap.xml
===================================================================
RCS file: /home/cvs/jakarta-turbine-maven/build-bootstrap.xml,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -r1.50 -r1.51
--- build-bootstrap.xml 24 Mar 2002 23:17:19 -0000 1.50
+++ build-bootstrap.xml 25 Mar 2002 21:55:07 -0000 1.51
@@ -30,6 +30,23 @@
</path>
<!-- ================================================================== -->
+ <!-- D E F A U L T B O O T S T R A P -->
+ <!-- ================================================================== -->
+ <target
+ name="bootstrap"
+ description="--> Update local jars, generate maven's build system, generate
maven, and setup the distributions.">
+
+ <antcall target="update-jars"/>
+ <antcall target="generate-build"/>
+ <ant antfile="build.xml" target="maven:update-jars"/>
+ <ant antfile="build.xml" target="maven:clean"/>
+ <ant antfile="build.xml" target="maven:jar"/>
+ <antcall target="dist"/>
+ <ant dir="${maven.home}/install"/>
+
+ </target>
+
+ <!-- ================================================================== -->
<!-- G E N E R A T E B U I L D S Y S T E M -->
<!-- ================================================================== -->
@@ -173,6 +190,13 @@
</fileset>
</jar>
+ <delete dir="${basedir}/bootstrap"/>
+
+ </target>
+
+ <target
+ name="project-map">
+
<taskdef
name="package-project-map"
classname="org.apache.maven.PackageProjectMap">
@@ -194,8 +218,6 @@
descriptorDir="src/descriptors/project"
map="${maven.home}/package-project.map"
/>
-
- <delete dir="${basedir}/bootstrap"/>
</target>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>