Added a note to the Apache Ant instructions to optionally build the Junit testing library

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@3064 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Randy McMurchy 2004-12-01 20:24:44 +00:00
parent aa0f6ab47b
commit 6f39ee2850
3 changed files with 22 additions and 12 deletions

View File

@ -1,8 +1,8 @@
<!ENTITY day "30">
<!ENTITY month "11">
<!ENTITY day "01">
<!ENTITY month "12">
<!ENTITY year "2004">
<!ENTITY version "svn-&year;&month;&day;">
<!ENTITY releasedate "November &day;th, &year;">
<!ENTITY releasedate "December &day;st, &year;">
<!ENTITY pubdate "&year;-&month;-&day;"> <!-- metadata req. by TLDP -->
<!ENTITY blfs-version "cvs"> <!-- cvs|[release #] -->
<!ENTITY lfs-version "testing"> <!-- stable|testing|unstable] -->

View File

@ -68,7 +68,16 @@ url="&patch-root;/apache-ant-&apache-ant-version;-blfs_install-1.patch"/></para>
<para>Note: you may need additional libraries to satisify the build
requirements of various packages. Review the table at
<ulink url="http://ant.apache.org/manual/install.html#librarydependencies"/>
for any prerequisite libraries you may need.</para>
for any prerequisite libraries you may need. One such library is the
<application>JUnit</application> testing framework library. Many Ant-installed
packages will use this library to perform the unit tests during the build
process. To install the JUnit library along with the
<application>Apache Ant</application> package, download it from
<ulink url="http://www.junit.org/"/>, unzip the distribution file (requires
<xref linkend="unzip"/>) and copy the <filename>junit.jar</filename> file
into the <filename class='directory'>lib</filename> subdirectory of the
<application>Apache Ant</application> source tree before beginning the
<application>Apache Ant</application> build.</para>
<para>Install <application>Apache Ant</application> by running the following
commands:</para>
@ -111,17 +120,14 @@ command is optional, and creates a convenience symlink.</para>
<sect3><title>Configuration Information</title>
<para>Some packages will require <command>ant</command> to be in the search
path. Satisfy this requirement by adding the following line to
path and the <envar>$ANT_HOME</envar> environment variable defined.
Satisfy these requirements by adding the following lines to
<filename>/etc/profile</filename> or to individual user's
<filename>~/.profile</filename> or <filename>.bashrc</filename> files:</para>
<filename>~/.profile</filename> or <filename>~/.bashrc</filename> files:</para>
<screen><userinput>export PATH=$PATH:/opt/ant/bin</userinput></screen>
<screen><userinput>export PATH=$PATH:/opt/ant/bin
export ANT_HOME=/opt/ant</userinput></screen>
<para>You may also need to create an environment variable for
<envar>$ANT_HOME</envar>. Add the following to one of the files mentioned
above:</para>
<screen><userinput>export ANT_HOME=/opt/ant</userinput></screen>
</sect3>
</sect2>

View File

@ -22,6 +22,10 @@ who wrote what.</para>
<itemizedlist>
<listitem><para>December 1st, 2004 [randy]: Added a note to the
Apache Ant instructions to optionally build the Junit testing library
during the build.</para></listitem>
<listitem><para>November 30th, 2004 [randy]: Added new package
Apache Ant-1.6.2; removed note about a specific version of Bison from
OpenOffice instructions as LFS-6.0-testing's version is now