r3064 - in trunk/BOOK: . general/sysutils introduction/welcome

randy at linuxfromscratch.org randy at linuxfromscratch.org
Wed Dec 1 12:24:45 PST 2004


Author: randy
Date: 2004-12-01 13:24:44 -0700 (Wed, 01 Dec 2004)
New Revision: 3064

Modified:
   trunk/BOOK/general.ent
   trunk/BOOK/general/sysutils/apache-ant.xml
   trunk/BOOK/introduction/welcome/changelog.xml
Log:
Added a note to the Apache Ant instructions to optionally build the Junit testing library

Modified: trunk/BOOK/general/sysutils/apache-ant.xml
===================================================================
--- trunk/BOOK/general/sysutils/apache-ant.xml	2004-11-30 16:58:14 UTC (rev 3063)
+++ trunk/BOOK/general/sysutils/apache-ant.xml	2004-12-01 20:24:44 UTC (rev 3064)
@@ -68,7 +68,16 @@
 <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 @@
 
 <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>

Modified: trunk/BOOK/general.ent
===================================================================
--- trunk/BOOK/general.ent	2004-11-30 16:58:14 UTC (rev 3063)
+++ trunk/BOOK/general.ent	2004-12-01 20:24:44 UTC (rev 3064)
@@ -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] -->

Modified: trunk/BOOK/introduction/welcome/changelog.xml
===================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml	2004-11-30 16:58:14 UTC (rev 3063)
+++ trunk/BOOK/introduction/welcome/changelog.xml	2004-12-01 20:24:44 UTC (rev 3064)
@@ -22,6 +22,10 @@
 
 <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 




More information about the blfs-book mailing list