Changeset ac38e9dc for general/prog/apache-ant.xml
- Timestamp:
- 08/01/2015 04:26:22 AM (9 years ago)
- Branches:
- systemd-13485
- Children:
- ad6910d
- Parents:
- 4a83293
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
general/prog/apache-ant.xml
r4a83293 rac38e9dc 5 5 %general-entities; 6 6 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"> 8 8 <!ENTITY apache-ant-download-ftp " "> 9 <!ENTITY apache-ant-md5sum " 7a7253ec047195d755c5318a4de8a3a4">9 <!ENTITY apache-ant-md5sum "1eddcf051c8a7010c46ca940c63d478d"> 10 10 <!ENTITY apache-ant-size "3.6 MB"> 11 <!ENTITY apache-ant-buildsize "1 08MB">11 <!ENTITY apache-ant-buildsize "183 MB"> 12 12 <!ENTITY apache-ant-time "0.3 SBU"> 13 13 ]> … … 31 31 32 32 <para>The <application>Apache Ant</application> package is a 33 <application>Java</application>-based build tool. In theory, it is kind of34 like <command>make</command>, but without <command>make</command>'s33 <application>Java</application>-based build tool. In theory, it is 34 like the <command>make</command> command, but without <command>make</command>'s 35 35 wrinkles. <application>Ant</application> is different. Instead of a model 36 36 that is extended with shell-based commands, <application>Ant</application> … … 40 40 that implements a particular task interface.</para> 41 41 42 &lfs7 6_checked;42 &lfs77_checked; 43 43 44 44 <bridgehead renderas="sect3">Package Information</bridgehead> … … 78 78 url="http://hamcrest.googlecode.com/files/hamcrest-&hamcrest-version;.tgz"> 79 79 http://hamcrest.googlecode.com/files/hamcrest-&hamcrest-version;.tgz </ulink> 80 </para>81 </listitem>82 <listitem>83 <para>Optional documentation: <ulink84 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.bz286 </ulink>87 80 </para> 88 81 </listitem> … … 134 127 hamcrest-&hamcrest-version;/hamcrest-core-&hamcrest-version;.jar lib/optional</userinput></screen> 135 128 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 140 129 <para>Install <application>Apache Ant</application> by running the following 141 130 commands:</para> … … 146 135 147 136 <screen role="root"><userinput>./build.sh -Ddist.dir=/opt/ant-&apache-ant-version; dist && 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 && 157 cp -Rv apache-ant-&apache-ant-version;/* /opt/ant-&apache-ant-version;/docs</userinput></screen> 137 ln -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> 158 141 159 142 </sect2> … … 162 145 <title>Command Explanations</title> 163 146 164 <!-- <para><command>sed -i 's/jars...</command>: If the165 <application>JUnit</application> package is not installed, the regression166 tests cannot be performed.</para>167 -->168 147 <para><command>cp -v ... lib/optional</command>: 169 148 This command copies the JUnit and hamcrest jar files into the directory where … … 175 154 <filename class='directory'>/opt/ant-&apache-ant-version;</filename>.</para> 176 155 177 <para><command>ln - v -sfn ant-&apache-ant-version; /opt/ant</command>: This156 <para><command>ln -sfvn ant-&apache-ant-version; /opt/ant</command>: This 178 157 command is optional, and creates a convenience symlink.</para> 179 158 … … 208 187 209 188 <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 >> /etc/profile.d/extrapaths.sh << EOF 194 <literal># Begin Apache-ant addition 195 196 pathappend /opt/ant/bin 197 export ANT_HOME=/opt/ant 198 199 # End Apache-ant addition</literal> 200 EOF</userinput></screen> 201 202 <para>The above instrutions assume you have configured your system as 203 described in <xref linkend="postlfs-config-profile"/>.</para> 217 204 218 205 </sect3>
Note:
See TracChangeset
for help on using the changeset viewer.