mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-03 14:47:17 +08:00
Ant clean up
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@7999 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
parent
643a6b4163
commit
d41419060c
@ -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,10 +116,9 @@
|
||||
<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>Now, as the <systemitem class="username">root</systemitem> user:</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>
|
||||
|
||||
<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 &&
|
||||
@ -130,8 +129,9 @@ ln -v -sf ant-&apache-ant-version; /opt/ant</userinput></screen>
|
||||
<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
|
||||
|
Loading…
Reference in New Issue
Block a user