Changeset 915403df for general


Ignore:
Timestamp:
03/23/2007 03:28:50 PM (17 years ago)
Author:
Randy McMurchy <randy@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
be713ab
Parents:
2876fbf
Message:

Updated to Apache Ant-1.7.0

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@6685 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/sysutils/apache-ant.xml

    r2876fbf r915403df  
    55  %general-entities;
    66
    7   <!ENTITY apache-ant-download-http "http://archive.apache.org/dist/ant/source/apache-ant-&apache-ant-version;-src.tar.bz2">
     7  <!ENTITY apache-ant-download-http "http://apache.org/dist/ant/source/apache-ant-&apache-ant-version;-src.tar.bz2">
    88  <!ENTITY apache-ant-download-ftp  "ftp://ftp.oregonstate.edu/pub/apache/ant/source/apache-ant-&apache-ant-version;-src.tar.bz2">
    9   <!ENTITY apache-ant-md5sum        "80a7ad191c40b7d8c82533524b282b6b">
    10   <!ENTITY apache-ant-size          "6.2 MB">
    11   <!ENTITY apache-ant-buildsize     "94.5 MB">
     9  <!ENTITY apache-ant-md5sum        "22b378e27ab300e4d73bf09d91c7e2a6">
     10  <!ENTITY apache-ant-size          "6.8 MB">
     11  <!ENTITY apache-ant-buildsize     "109 MB">
    1212  <!ENTITY apache-ant-time          "0.4 SBU">
    1313]>
     
    6161    </itemizedlist>
    6262
    63     <bridgehead renderas="sect3">Additional Downloads</bridgehead>
     63    <!-- <bridgehead renderas="sect3">Additional Downloads</bridgehead>
    6464    <itemizedlist spacing="compact">
    6565      <listitem>
     
    6767        url="&patch-root;/apache-ant-&apache-ant-version;-blfs_install-1.patch"/></para>
    6868      </listitem>
    69     </itemizedlist>
     69    </itemizedlist> -->
    7070
    7171    <bridgehead renderas="sect3">Apache Ant Dependencies</bridgehead>
    7272
    7373    <bridgehead renderas="sect4">Required</bridgehead>
    74     <para role="required"><xref linkend="jdk"/></para>
     74    <para role="required"><xref linkend="jdk"/> and
     75    <xref linkend="junit"/></para>
    7576
    7677    <para condition="html" role="usernotes">User Notes:
     
    8788      <application>Apache Ant</application>. Review the table at
    8889      <ulink url="http://ant.apache.org/manual/install.html#librarydependencies"/>
    89       for any prerequisite libraries you may need. One such library is the
     90      for any prerequisite libraries you may need.</para>
     91
     92      <!-- <para>One such library is the
    9093      <application>JUnit</application>-3.8.1 testing framework library. Many
    9194      Ant-installed packages will use this library to perform the unit tests
     
    9699      into the <filename class='directory'>lib</filename> subdirectory of the
    97100      <application>Apache Ant</application> source tree before beginning the
    98       <application>Apache Ant</application> build.</para>
     101      <application>Apache Ant</application> build.</para> -->
    99102    </note>
    100103
     
    102105    commands:</para>
    103106
    104 <screen><userinput>patch -Np1 -i ../apache-ant-&apache-ant-version;-blfs_install-1.patch</userinput></screen>
    105 
    106     <para>This package does not come with a test suite.</para>
     107<screen><userinput>sed -i 's|${dist.dir}/etc|/etc/ant|'        build.xml
     108sed -i 's|/etc/ant.conf|/etc/ant/ant.conf|' src/script/ant</userinput></screen>
     109
     110    <para>The unit regression tests are performed in the build step below.</para>
    107111
    108112    <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
     
    117121    <title>Command Explanations</title>
    118122
     123    <para><command>sed ...</command>: These commands change the configuration
     124    directory to <filename class='directory'>/etc/ant</filename> to conform
     125    with FHS guidelines.</para>
     126
    119127    <para><command>./build.sh -Ddist.dir=/opt/ant-&apache-ant-version;
    120     dist</command>: This command does everything. It builds, then
     128    dist</command>: This command does everything. It builds, tests, then
    121129    installs the package into
    122130    <filename class='directory'>/opt/ant-&apache-ant-version;</filename>.</para>
    123131
    124132    <para><command>ln -v -sf /etc/ant /opt/ant-&apache-ant-version;/etc</command>:
    125     The patch changes the configuration directory to
    126     <filename class='directory'>/etc/ant</filename> to conform with
    127     FHS guidelines. This command creates a symlink from the
    128     configuration directory back to the installation directory as the package is
    129     expecting to find the files there.</para>
     133    The <command>sed</command> commands change the configuration directory to
     134    <filename class='directory'>/etc/ant</filename> and this command creates a
     135    symlink from the configuration directory back to the installation directory
     136    as the package is expecting to find some files there.</para>
    130137
    131138    <para><command>ln -v -sf ant-&apache-ant-version; /opt/ant</command>: This
     
    184191      <seglistitem>
    185192        <seg>ant, antRun, antRun.pl, complete-ant-cmd.pl, runant.pl, and runant.py</seg>
    186         <seg>ant-*.jar, xercesImpl.jar, and xml-apis.jar</seg>
     193        <seg>ant.jar, ant-*.jar, xercesImpl.jar, and xml-apis.jar</seg>
    187194        <seg>/etc/ant and /opt/ant-&apache-ant-version;</seg>
    188195      </seglistitem>
Note: See TracChangeset for help on using the changeset viewer.