Updated to Apache Ant-1.8.0

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@8292 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Randy McMurchy 2010-03-06 17:43:20 +00:00
parent f3eefa7b5d
commit 9b9be0d7e2
3 changed files with 16 additions and 7 deletions

View File

@ -247,7 +247,7 @@ $Date$
<!ENTITY cpio-version "2.9">
<!ENTITY mc-version "4.6.1">
<!ENTITY sysstat-version "9.0.6">
<!ENTITY apache-ant-version "1.7.1">
<!ENTITY apache-ant-version "1.8.0">
<!ENTITY dbus-version "1.2.16">
<!ENTITY hal-version "0.5.12">
<!ENTITY udev-version "145">

View File

@ -6,10 +6,10 @@
<!ENTITY apache-ant-download-http "http://www.apache.org/dist/ant/source/apache-ant-&apache-ant-version;-src.tar.bz2">
<!ENTITY apache-ant-download-ftp "ftp://anduin.linuxfromscratch.org/BLFS/svn/a/apache-ant-&apache-ant-version;-src.tar.bz2">
<!ENTITY apache-ant-md5sum "0d68db4a1ada5c91bcbf53cefd0c2fd7">
<!ENTITY apache-ant-size "6.8 MB">
<!ENTITY apache-ant-buildsize "109 MB">
<!ENTITY apache-ant-time "0.4 SBU">
<!ENTITY apache-ant-md5sum "10270c71a5fe12f9b9c8d3be3ba1594e">
<!ENTITY apache-ant-size "7.1 MB">
<!ENTITY apache-ant-buildsize "119 MB">
<!ENTITY apache-ant-time "0.5 SBU">
]>
<sect1 id="apache-ant" xreflabel="Apache Ant-&apache-ant-version;">
@ -113,8 +113,10 @@
<para>Install <application>Apache Ant</application> by running the following
commands:</para>
<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>
<screen><userinput>sed -i 's|${dist.dir}/etc|/etc/ant|' build.xml &amp;&amp;
sed -i 's|/etc/ant.conf|/etc/ant/ant.conf|' src/script/ant &amp;&amp;
cp -v /usr/share/junit-&junit-version;/&junit-version;.jar \
lib/optional/junit.jar</userinput></screen>
<para>The unit regression tests are performed during the build step below
unless <application>JUnit</application> is not installed. Now, as the
@ -137,6 +139,10 @@ ln -v -sf ant-&apache-ant-version; /opt/ant</userinput></screen>
directory to <filename class='directory'>/etc/ant</filename> to conform
with FHS guidelines.</para>
<para><command>cp -v /usr/share/junit-&junit-version;/&junit-version;.jar ...</command>:
This command copies the JUnit jar file into the directory where Apache Ant
will look for it.</para>
<para><command>./build.sh -Ddist.dir=/opt/ant-&apache-ant-version;
dist</command>: This command does everything. It builds, tests, then
installs the package into

View File

@ -44,6 +44,9 @@
<listitem>
<para>March 7th, 2010</para>
<itemizedlist>
<listitem>
<para>[randy] - Updated to Apache Ant-1.8.0.</para>
</listitem>
<listitem>
<para>[randy] - Updated to HTML Tidy-cvs_20100306.</para>
</listitem>