Author: randy
Date: 2009-08-29 11:18:46 -0600 (Sat, 29 Aug 2009)
New Revision: 7999
Modified:
trunk/BOOK/general/sysutils/apache-ant.xml
Log:
Ant clean up
Modified: trunk/BOOK/general/sysutils/apache-ant.xml
===================================================================
--- trunk/BOOK/general/sysutils/apache-ant.xml 2009-08-29 15:44:43 UTC (rev
7998)
+++ trunk/BOOK/general/sysutils/apache-ant.xml 2009-08-29 17:18:46 UTC (rev
7999)
@@ -103,10 +103,10 @@
<application>Apache Ant</application> build.</para> -->
</note>
- <para>If the recommendation of having <application>JUnit</application>
installed
- cannot be matched, <application>Apache Ant</application> can be installed
- anyway but the tests cannot be performed. Remove the reference to
- the test instructions by running the following command:</para>
+ <para>If it is not possible to install the recommended
+ <application>JUnit</application> package, install
+ <application>Apache Ant</application> by removing the reference to the test
+ instructions (note that the tests will not be performed):</para>
<screen><userinput>sed -i 's;jars,test-jar;jars;'
build.xml</userinput></screen>
@@ -116,11 +116,10 @@
<screen><userinput>sed -i 's|${dist.dir}/etc|/etc/ant|' build.xml
sed -i 's|/etc/ant.conf|/etc/ant/ant.conf|' src/script/ant</userinput></screen>
- <para>The unit regression tests are performed in the build step below
except
- the first <command>sed</command> has been executed.</para>
+ <para>The unit regression tests are performed during the build step below
+ unless <application>JUnit</application> is not installed. Now, as the
+ <systemitem class="username">root</systemitem> user:</para>
- <para>Now, as the <systemitem class="username">root</systemitem>
user:</para>
-
<screen role="root"><userinput>./build.sh
-Ddist.dir=/opt/ant-&apache-ant-version; dist &&
ln -v -sf /etc/ant /opt/ant-&apache-ant-version;/etc &&
ln -v -sf ant-&apache-ant-version; /opt/ant</userinput></screen>
@@ -130,8 +129,9 @@
<sect2 role="commands">
<title>Command Explanations</title>
- <para><command>sed -i 's;jars...</command>: If
<application>JUnit</application> package
- is not installed, the regression tests cannot be performed.</para>
+ <para><command>sed -i 's;jars...</command>: If the
+ <application>JUnit</application> package is not installed, the regression
+ tests cannot be performed.</para>
<para><command>sed ...</command>: These commands change the configuration
directory to <filename class='directory'>/etc/ant</filename> to conform
--
http://linuxfromscratch.org/mailman/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page