Changeset 6dc9fd3 for general/prog/apache-ant.xml
- Timestamp:
- 05/15/2014 04:22:53 PM (10 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 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:
- 19cc928
- Parents:
- 231d5eb
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
general/prog/apache-ant.xml
r231d5eb r6dc9fd3 7 7 <!ENTITY apache-ant-download-http "http://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 " 995f21618acdf35beacc465c84d79534">10 <!ENTITY apache-ant-size "3. 3MB">11 <!ENTITY apache-ant-buildsize "10 5MB">12 <!ENTITY apache-ant-time "0. 2SBU">9 <!ENTITY apache-ant-md5sum "7a7253ec047195d755c5318a4de8a3a4"> 10 <!ENTITY apache-ant-size "3.6 MB"> 11 <!ENTITY apache-ant-buildsize "108 MB"> 12 <!ENTITY apache-ant-time "0.3 SBU"> 13 13 ]> 14 14 … … 64 64 </itemizedlist> 65 65 66 <bridgehead renderas="sect3">Additional Downloads</bridgehead> 67 <itemizedlist spacing="compact"> 68 <listitem> 69 <para> 70 Required file: <ulink 71 url="http://anduin.linuxfromscratch.org/sources/other/junit-&junit-version;.jar"> 72 http://anduin.linuxfromscratch.org/sources/other/junit-&junit-version;.jar</ulink> 73 </para> 74 </listitem> 75 <listitem> 76 <para> 77 Required file: <ulink 78 url="http://hamcrest.googlecode.com/files/hamcrest-&hamcrest-version;.tgz"> 79 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> 87 </para> 88 </listitem> 89 </itemizedlist> 90 66 91 <bridgehead renderas="sect3">Apache Ant Dependencies</bridgehead> 67 92 … … 72 97 </para> 73 98 74 <bridgehead renderas="sect4">Recommended</bridgehead>99 <!-- <bridgehead renderas="sect4">Recommended</bridgehead> 75 100 <para role="recommended"> 76 101 <xref linkend="junit"/> 77 102 </para> 78 103 --> 79 104 <para condition="html" role="usernotes">User Notes: 80 105 <ulink url="&blfs-wiki;/apache-ant"/></para> … … 94 119 </note> 95 120 96 <para>If it is not possible to install the recommended121 <!-- <para>If it is not possible to install the recommended 97 122 <application>JUnit</application> package, install 98 123 <application>Apache Ant</application> by removing the reference to the test … … 100 125 101 126 <screen><userinput>sed -i 's/jars,test-jar/jars/' build.xml</userinput></screen> 102 103 <para>otherwise copy the <application>junit</application> jar file to the 127 --> 128 <para>Unpack and copy the <application>junit</application> and 129 <application>hamcrest</application> jar files to the 104 130 local directory tree.</para> 105 131 106 <screen><userinput>cp -v /usr/share/java/junit-&junit-version;.jar lib/optional</userinput></screen> 132 <screen><userinput>tar -xvf ../hamcrest-&hamcrest-version;.tgz && 133 cp -v ../junit-&junit-version;.jar \ 134 hamcrest-&hamcrest-version;/hamcrest-core-&hamcrest-version;.jar lib/optional</userinput></screen> 135 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> 107 139 108 140 <para>Install <application>Apache Ant</application> by running the following … … 119 151 <systemitem class="username">root</systemitem> user.</para></note> 120 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> 158 121 159 </sect2> 122 160 … … 124 162 <title>Command Explanations</title> 125 163 126 <para><command>sed -i 's/jars...</command>: If the164 <!-- <para><command>sed -i 's/jars...</command>: If the 127 165 <application>JUnit</application> package is not installed, the regression 128 166 tests cannot be performed.</para> 129 130 <para><command>cp -v 131 /usr/share/java/junit-&junit-version;.jar ...</command>: 132 This command copies the JUnit jar file into the directory where Apache Ant 133 will look for it.</para> 167 --> 168 <para><command>cp -v ... lib/optional</command>: 169 This command copies the JUnit and hamcrest jar files into the directory where 170 Apache Ant will look for it.</para> 134 171 135 172 <para><command>./build.sh -Ddist.dir=/opt/ant-&apache-ant-version;
Note:
See TracChangeset
for help on using the changeset viewer.