Ignore:
Timestamp:
08/01/2015 04:26:22 AM (9 years ago)
Author:
Douglas R. Reno <renodr@…>
Branches:
systemd-13485
Children:
ad6910d
Parents:
4a83293
Message:

Import back into SVN from Github

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/systemd@16309 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

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

    r4a83293 rac38e9dc  
    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 "https://archive.apache.org/dist/ant/source/apache-ant-&apache-ant-version;-src.tar.bz2">
    88  <!ENTITY apache-ant-download-ftp  " ">
    9   <!ENTITY apache-ant-md5sum        "7a7253ec047195d755c5318a4de8a3a4">
     9  <!ENTITY apache-ant-md5sum        "1eddcf051c8a7010c46ca940c63d478d">
    1010  <!ENTITY apache-ant-size          "3.6 MB">
    11   <!ENTITY apache-ant-buildsize     "108 MB">
     11  <!ENTITY apache-ant-buildsize     "183 MB">
    1212  <!ENTITY apache-ant-time          "0.3 SBU">
    1313]>
     
    3131
    3232    <para>The <application>Apache Ant</application> package is a
    33     <application>Java</application>-based build tool. In theory, it is kind of
    34     like <command>make</command>, but without <command>make</command>'s
     33    <application>Java</application>-based build tool. In theory, it is
     34    like the <command>make</command> command, but without <command>make</command>'s
    3535    wrinkles. <application>Ant</application> is different. Instead of a model
    3636    that is extended with shell-based commands, <application>Ant</application>
     
    4040    that implements a particular task interface.</para>
    4141
    42     &lfs76_checked;
     42    &lfs77_checked;
    4343
    4444    <bridgehead renderas="sect3">Package Information</bridgehead>
     
    7878             url="http://hamcrest.googlecode.com/files/hamcrest-&hamcrest-version;.tgz">
    7979                  http://hamcrest.googlecode.com/files/hamcrest-&hamcrest-version;.tgz </ulink>
    80         </para>
    81       </listitem>
    82       <listitem>
    83         <para>Optional documentation: <ulink
    84       url="https://archive.apache.org/dist/ant/manual/apache-ant-&apache-ant-version;-manual.tar.bz2">
    85            https://archive.apache.org/dist/ant/manual/apache-ant-&apache-ant-version;-manual.tar.bz2
    86                                       </ulink>
    8780        </para>
    8881      </listitem>
     
    134127      hamcrest-&hamcrest-version;/hamcrest-core-&hamcrest-version;.jar lib/optional</userinput></screen>
    135128
    136     <para>If you wish to install the documentation, unpack it:</para>
    137 
    138 <screen><userinput>tar -xvf ../apache-ant-&apache-ant-version;-manual.tar.bz2</userinput></screen>
    139 
    140129    <para>Install <application>Apache Ant</application> by running the following
    141130    commands:</para>
     
    146135
    147136<screen role="root"><userinput>./build.sh -Ddist.dir=/opt/ant-&apache-ant-version; dist &amp;&amp;
    148 ln -v -sfn ant-&apache-ant-version; /opt/ant</userinput></screen>
    149 
    150   <note><para>Make sure the JAVA_HOME environment variable is set for the
    151   <systemitem class="username">root</systemitem> user.</para></note>
    152 
    153     <para>Install the documentation as the
    154     <systemitem class="username">root</systemitem> user:</para>
    155 
    156 <screen role="root"><userinput>install -m755 -d /opt/ant-&apache-ant-version;/docs &amp;&amp;
    157 cp -Rv apache-ant-&apache-ant-version;/* /opt/ant-&apache-ant-version;/docs</userinput></screen>
     137ln -sfvn ant-&apache-ant-version; /opt/ant</userinput></screen>
     138
     139    <note><para>Make sure the JAVA_HOME environment variable is set for the
     140    <systemitem class="username">root</systemitem> user.</para></note>
    158141
    159142  </sect2>
     
    162145    <title>Command Explanations</title>
    163146
    164 <!--    <para><command>sed -i 's/jars...</command>: If the
    165     <application>JUnit</application> package is not installed, the regression
    166     tests cannot be performed.</para>
    167 -->
    168147    <para><command>cp -v ... lib/optional</command>:
    169148    This command copies the JUnit and hamcrest jar files into the directory where
     
    175154    <filename class='directory'>/opt/ant-&apache-ant-version;</filename>.</para>
    176155
    177     <para><command>ln -v -sfn ant-&apache-ant-version; /opt/ant</command>: This
     156    <para><command>ln -sfvn ant-&apache-ant-version; /opt/ant</command>: This
    178157    command is optional, and creates a convenience symlink.</para>
    179158
     
    208187
    209188      <para>Some packages will require <command>ant</command> to be in the
    210       search path and the <envar>$ANT_HOME</envar> environment variable
    211       defined. Satisfy these requirements by adding the following lines to
    212       <filename>/etc/profile</filename> or to individual user's
    213       <filename>~/.profile</filename> or <filename>~/.bashrc</filename> files:</para>
    214 
    215 <screen><literal>export PATH=$PATH:/opt/ant/bin
    216 export ANT_HOME=/opt/ant</literal></screen>
     189      search path and the <envar>ANT_HOME</envar> environment variable
     190      defined. Satisfy these requirements by issuing, as the <systemitem
     191      class="username">root</systemitem> user:</para>
     192
     193<screen role="root"><userinput>cat &gt;&gt; /etc/profile.d/extrapaths.sh &lt;&lt; EOF
     194<literal># Begin Apache-ant addition
     195
     196pathappend /opt/ant/bin
     197export ANT_HOME=/opt/ant
     198
     199# End Apache-ant addition</literal>
     200EOF</userinput></screen>
     201
     202      <para>The above instrutions assume you have configured your system as
     203      described in <xref linkend="postlfs-config-profile"/>.</para>
    217204
    218205    </sect3>
Note: See TracChangeset for help on using the changeset viewer.