kaz 02/02/25 12:50:04
Modified: xdocs bootstrap.xml
Log:
Updated to reflect the new script that was added to ease the downloading
of jar files for the bootstrapping process.
Revision Changes Path
1.4 +56 -19 jakarta-turbine-maven/xdocs/bootstrap.xml
Index: bootstrap.xml
===================================================================
RCS file: /home/cvs/jakarta-turbine-maven/xdocs/bootstrap.xml,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- bootstrap.xml 24 Feb 2002 20:19:00 -0000 1.3
+++ bootstrap.xml 25 Feb 2002 20:50:04 -0000 1.4
@@ -15,12 +15,15 @@
the necessary steps to successfully build Maven.
</p>
<p>
- For the impatient (assuming you have the required jars):
+ For the impatient (assuming you have: <code>wget</code>
+ installed, <code>$LIB_REPO</code> set in your shell environment,
+ and <code>${lib.repo}</code> in your Ant build properties):
</p>
<source><![CDATA[
- ant -buildfile build-bootstrap.xml
- ant
+ ./build-bootstrap-jars.sh
+ ./build-bootstrap.sh
]]></source>
+ <p/>
<subsection name="Bootstrapping Maven">
<p>
Maven must be bootstrapped before you can actually build the
@@ -29,10 +32,43 @@
CVS repository.
</p>
<p>
+ Next, you must define the <code>${lib.repo}</code> property in
+ your <code>${user.home}/build.properties</code> file. If
+ you do not have a <code>${user.home}/build.properties</code>
+ file, create one in your home directory and add the
+ following line:
+ </p>
+ <source><![CDATA[
+ lib.repo = /path/to/some/directory
+ ]]></source>
+ <p>
+ The value of this property determines the location that the
+ dependencies will be stored after they have been downloaded.
+ Note: this directory must already exist in the filesystem.
+ </p>
+ <p>
You'll then need to download the dependencies for Maven before
- you can start the bootstrapping process. These dependencies
- must be placed in your <code>${lib.repo}</code> directory.
- The following is a list of the dependencies:
+ you can start the bootstrapping process. This can be done
+ automatically if your system has <code>wget</code> installed,
+ or manually if it does not.
+ </p>
+ <p>
+ To download the dependencies automatically, you must also set
+ <code>$LIB_REPO</code> in your shell's environment to point to
+ the same directory as your <code>${lib.repo}</code> property.
+ Then, type the following to automatically download the
+ required jars:
+ </p>
+ <source><![CDATA[
+ ./build-bootstrap-jars.sh
+ ]]></source>
+ <p>
+ If you do not have <code>wget</code> installed on your system,
+ then you must download the dependencies by hand. These
+ dependencies must be placed in your <code>${lib.repo}</code>
+ directory. The following is a list of the dependencies that
+ can be downloaded from <a href="http://jakarta.apache.org/turbine/jars">
+ http://jakarta.apache.org/turbine/jars </a>:
</p>
<ul>
<li>dom4j-1.1.jar</li>
@@ -49,32 +85,33 @@
<li>genjar.jar</li>
</ul>
<p>
- These dependencies can be downloaded from the Turbine site at
- <code>http://jakarta.apache.org/turbine/jars</code>. After
- you've downloaded all of the dependencies, bootstrapping is
- very easy. Type the following:
+ After you've downloaded all of the dependencies (either
+ automatically or manually), bootstrapping is very easy. Type
+ the following:
</p>
<source><![CDATA[
- ant -buildfile build-bootstrap.xml
+ ./build-bootstrap.sh
]]></source>
</subsection>
<subsection name="Building Maven with Maven">
<p>
Now that you have successfully bootstrapped, you can use the
- resulting jar file to build Maven. The bootstrapping process
- created <code>maven.jar</code> in your
- <code>${lib.repo}</code> directory. It also created a
- <code>build.xml</code> file in the base directory as well as
- all of the supporting files required to build Maven. To
- complete the build process, type the following in the base
- directory:
+ resulting jar file to build Maven, run unit tests, generate
+ documentation including cross-references and source metrics.
+ The bootstrapping process created <code>maven.jar</code> in
+ your <code>${lib.repo}</code> directory. It also created a <a
+ href="build-file.html"><code>build.xml</code></a> file in
+ the base directory as well as all of the supporting files
+ required to build Maven. If you want to build Maven using the
+ build system that was generated, type the following:
</p>
<source><![CDATA[
ant
]]></source>
<p>
Thats it! You have now built Maven with Maven!
- Congratulations!
+ Congratulations! For more information on the generated build
+ system, see the <a href="build-file.html">documentation</a>.
</p>
</subsection>
</section>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>