Ignore:
Timestamp:
03/12/2020 09:24:44 AM (4 years ago)
Author:
Pierre Labastie <pieere@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
6ea9f5b3
Parents:
5ab87cfa
Message:

Format general/prog

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

File:
1 edited

Legend:

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

    r5ab87cfa rde33b2a  
    3030    <title>Introduction to Apache Ant</title>
    3131
    32     <para>The <application>Apache Ant</application> package is a
    33     <application>Java</application>-based build tool. In theory, it is
    34     like the <command>make</command> command, but without <command>make</command>'s
    35     wrinkles. <application>Ant</application> is different. Instead of a model
    36     that is extended with shell-based commands, <application>Ant</application>
    37     is extended using <application>Java</application> classes. Instead of
    38     writing shell commands, the configuration files are XML-based, calling out
    39     a target tree that executes various tasks. Each task is run by an object
    40     that implements a particular task interface.</para>
     32    <para>
     33      The <application>Apache Ant</application> package is a
     34      <application>Java</application>-based build tool. In theory, it is
     35      like the <command>make</command> command, but without
     36      <command>make</command>'s wrinkles. <application>Ant</application> is
     37      different. Instead of a model that is extended with shell-based commands,
     38      <application>Ant</application> is extended using
     39      <application>Java</application> classes. Instead of writing shell
     40      commands, the configuration files are XML-based, calling out a target
     41      tree that executes various tasks. Each task is run by an object that
     42      implements a particular task interface.
     43    </para>
    4144
    4245    &lfs91_checked;
     
    4548    <itemizedlist spacing="compact">
    4649      <listitem>
    47         <para>Download (HTTP): <ulink url="&apache-ant-download-http;"/></para>
    48       </listitem>
    49       <listitem>
    50         <para>Download (FTP): <ulink url="&apache-ant-download-ftp;"/></para>
    51       </listitem>
    52       <listitem>
    53         <para>Download MD5 sum: &apache-ant-md5sum;</para>
    54       </listitem>
    55       <listitem>
    56         <para>Download size: &apache-ant-size;</para>
    57       </listitem>
    58       <listitem>
    59         <para>Estimated disk space required: &apache-ant-buildsize;</para>
    60       </listitem>
    61       <listitem>
    62         <para>Estimated build time: &apache-ant-time;</para>
     50        <para>
     51          Download (HTTP): <ulink url="&apache-ant-download-http;"/>
     52        </para>
     53      </listitem>
     54      <listitem>
     55        <para>
     56          Download (FTP): <ulink url="&apache-ant-download-ftp;"/>
     57        </para>
     58      </listitem>
     59      <listitem>
     60        <para>
     61          Download MD5 sum: &apache-ant-md5sum;
     62        </para>
     63      </listitem>
     64      <listitem>
     65        <para>
     66          Download size: &apache-ant-size;
     67        </para>
     68      </listitem>
     69      <listitem>
     70        <para>
     71          Estimated disk space required: &apache-ant-buildsize;
     72        </para>
     73      </listitem>
     74      <listitem>
     75        <para>
     76          Estimated build time: &apache-ant-time;
     77        </para>
    6378      </listitem>
    6479    </itemizedlist>
     
    176191      <title>Config Files</title>
    177192
    178       <para><filename>/etc/ant/ant.conf</filename>,
    179       <filename>~/.ant/ant.conf</filename>, and
    180       <filename>~/.antrc</filename></para>
     193      <para>
     194        <filename>/etc/ant/ant.conf</filename>,
     195        <filename>~/.ant/ant.conf</filename>, and
     196        <filename>~/.antrc</filename>
     197      </para>
    181198
    182199      <indexterm zone="apache-ant apache-ant-config">
     
    197214      <title>Configuration Information</title>
    198215
    199       <para>Some packages will require <command>ant</command> to be in the
    200       search path and the <envar>ANT_HOME</envar> environment variable
    201       defined. Satisfy these requirements by issuing, as the <systemitem
    202       class="username">root</systemitem> user:</para>
     216      <para>
     217        Some packages will require <command>ant</command> to be in the
     218        search path and the <envar>ANT_HOME</envar> environment variable
     219        defined. Satisfy these requirements by issuing, as the <systemitem
     220        class="username">root</systemitem> user:
     221      </para>
    203222
    204223<screen role="root"><userinput>cat &gt; /etc/profile.d/ant.sh &lt;&lt; EOF
     
    211230EOF</userinput></screen>
    212231
    213       <para>The above instrutions assume you have configured your system as
    214       described in <xref linkend="postlfs-config-profile"/>.</para>
     232      <para>
     233        The above instructions assume you have configured your system as
     234        described in <xref linkend="postlfs-config-profile"/>.
     235      </para>
    215236
    216237    </sect3>
     
    245266        <term><command>ant</command></term>
    246267        <listitem>
    247           <para>is a <application>Java</application> based build tool used by
    248           many packages instead of the conventional <command>make</command>
    249           program.</para>
     268          <para>
     269            is a <application>Java</application> based build tool used by
     270            many packages instead of the conventional <command>make</command>
     271            program.
     272          </para>
    250273          <indexterm zone="apache-ant ant">
    251274            <primary sortas="b-ant">ant</primary>
     
    257280        <term><command>antRun</command></term>
    258281        <listitem>
    259           <para>is a support script used to start <command>ant</command>
    260           build scripts in a given directory.</para>
     282          <para>
     283            is a support script used to start <command>ant</command>
     284            build scripts in a given directory.
     285          </para>
    261286          <indexterm zone="apache-ant antRun">
    262287            <primary sortas="b-antRun">antRun</primary>
     
    268293        <term><command>antRun.pl</command></term>
    269294        <listitem>
    270           <para>is a <application>Perl</application> script that provides
    271           similar functionality offered by the <command>antRun</command> script.</para>
     295          <para>
     296            is a <application>Perl</application> script that provides similar
     297            functionality offered by the <command>antRun</command> script.
     298          </para>
    272299          <indexterm zone="apache-ant antRun.pl">
    273300            <primary sortas="b-antRun.pl">antRun.pl</primary>
     
    279306        <term><command>complete-ant-cmd.pl</command></term>
    280307        <listitem>
    281           <para>is a <application>Perl</application> script that allows
    282           <application>Bash</application> to complete an <command>ant</command>
    283           command-line.</para>
     308          <para>
     309            is a <application>Perl</application> script that allows
     310            <application>Bash</application> to complete an
     311            <command>ant</command> command-line.
     312          </para>
    284313          <indexterm zone="apache-ant complete-ant-cmd.pl">
    285314            <primary sortas="b-complete-ant-cmd.pl">complete-ant-cmd.pl</primary>
     
    291320        <term><command>runant.pl</command></term>
    292321        <listitem>
    293           <para>is a <application>Perl</application> wrapper script used to
    294           invoke <command>ant</command>.</para>
     322          <para>
     323            is a <application>Perl</application> wrapper script used to
     324            invoke <command>ant</command>.
     325          </para>
    295326          <indexterm zone="apache-ant runant.pl">
    296327            <primary sortas="b-runant.pl">runant.pl</primary>
     
    302333        <term><command>runant.py</command></term>
    303334        <listitem>
    304           <para>is a <application>Python</application> wrapper script used to
    305           invoke <command>ant</command>.</para>
     335          <para>
     336            is a <application>Python</application> wrapper script used to
     337            invoke <command>ant</command>.
     338          </para>
    306339          <indexterm zone="apache-ant runant.py">
    307340            <primary sortas="b-runant.py">runant.py</primary>
     
    313346        <term><filename class='libraryfile'>ant*.jar</filename></term>
    314347        <listitem>
    315           <para>files are the <application>Apache Ant</application>
    316           <application>Java</application> class libraries.</para>
     348          <para>
     349            files are the <application>Apache Ant</application>
     350            <application>Java</application> class libraries.
     351          </para>
    317352          <indexterm zone="apache-ant ant-star">
    318353            <primary sortas="c-ant-star">ant-*.jar</primary>
Note: See TracChangeset for help on using the changeset viewer.