diff --git a/general/sysutils/apache-ant.xml b/general/sysutils/apache-ant.xml index f1fd09deaf..b27be4d35c 100644 --- a/general/sysutils/apache-ant.xml +++ b/general/sysutils/apache-ant.xml @@ -13,242 +13,285 @@ ]> - -$LastChangedBy$ -$Date$ - - -Apache Ant-&apache-ant-version; - -Apache Ant + - -Introduction to <application>Apache Ant</application> + + $LastChangedBy$ + $Date$ + -The Apache Ant package is a -Java-based build tool. In theory, it is kind of -like make, but without make's wrinkles. -Ant is different. Instead of a model where it is extended with shell-based -commands, Ant is extended using Java classes. -Instead of writing shell commands, the configuration files are -XML-based, calling out a target tree where various tasks -get executed. Each task is run by an object that implements a particular task -interface. + Apache Ant-&apache-ant-version; -Package information - -Download (HTTP): - -Download (FTP): - -Download MD5 sum: &apache-ant-md5sum; -Download size: &apache-ant-size; -Estimated disk space required: -&apache-ant-buildsize; -Estimated build time: -&apache-ant-time; - + + Apache Ant + -Additional downloads - -Required Patch: - - + + Introduction to Apache Ant -<application>Apache Ant</application> dependencies -Required - - - + The Apache Ant package is a + Java-based build tool. In theory, it is kind of like + make, but without make's wrinkles. + Ant is different. Instead of a model where it is extended with shell-based commands, + Ant is extended using Java classes. Instead of writing + shell commands, the configuration files are XML-based, calling out a target tree where + various tasks get executed. Each task is run by an object that implements a + particular task interface. - + Package Information + + + Download (HTTP): + + + Download (FTP): + + + Download MD5 sum: &apache-ant-md5sum; + + + Download size: &apache-ant-size; + + + Estimated disk space required: &apache-ant-buildsize; + + + Estimated build time: &apache-ant-time; + + - -Installation of <application>Apache Ant</application> + Additional Downloads + + + Required Patch: + + -Note: you may need additional libraries to satisify the build -requirements of various packages installed using -Apache Ant. Review the table at - -for any prerequisite libraries you may need. One such library is the -JUnit testing framework library. Many Ant-installed -packages will use this library to perform the unit tests during the build -process. To install the JUnit library along with the -Apache Ant package, download it from -, unzip the distribution file (requires -) and copy the junit.jar file -into the lib subdirectory of the -Apache Ant source tree before beginning the -Apache Ant build. + Apache Ant Dependencies -Install Apache Ant by running the following -commands: + Required + -patch -Np1 -i ../apache-ant-&apache-ant-version;-blfs_install-1.patch + -Now, as the root user: + + Installation of Apache Ant -./build.sh -Ddist.dir=/opt/ant-&apache-ant-version; dist && -ln -sf /etc/ant /opt/ant-&apache-ant-version;/etc && -ln -sf ant-&apache-ant-version; /opt/ant + + You may need additional libraries to satisify the build + requirements of various packages installed using + Apache Ant. Review the table at + + for any prerequisite libraries you may need. One such library is the + JUnit testing framework library. Many Ant-installed + packages will use this library to perform the unit tests during the build + process. To install the JUnit library along with the + Apache Ant package, download it from + , unzip the distribution file (requires + ) and copy the junit.jar file + into the lib subdirectory of the + Apache Ant source tree before beginning the + Apache Ant build. + - + Install Apache Ant by running the following + commands: - -Command explanations +patch -Np1 -i ../apache-ant-&apache-ant-version;-blfs_install-1.patch -./build.sh -Ddist.dir=/opt/ant-&apache-ant-version; -dist: This command does everything. It builds the package, then -installs the package into -/opt/ant-&apache-ant-version;. + Now, as the root user: -ln -sf /etc/ant /opt/ant-&apache-ant-version;/etc: -The patch changes the configuration directory to -/etc/ant to conform with -FHS guidelines. This command creates a symlink from the -configuration directory back to the installation directory as the package is -expecting to find the files there. +./build.sh -Ddist.dir=/opt/ant-&apache-ant-version; dist && +ln -v -sf /etc/ant /opt/ant-&apache-ant-version;/etc && +ln -v -sf ant-&apache-ant-version; /opt/ant -ln -sf ant-&apache-ant-version; /opt/ant: This -command is optional, and creates a convenience symlink. + - + + Command Explanations - -Configuring <application>Apache Ant</application> + ./build.sh -Ddist.dir=/opt/ant-&apache-ant-version; + dist: This command does everything. It builds the package, then + installs the package into + /opt/ant-&apache-ant-version;. -Config files -/etc/ant/ant.conf, -~/.ant/ant.conf and -~/.antrc - -~/.ant/ant.conf - -~/.antrc - -/etc/ant/ant.conf - + ln -v -sf /etc/ant /opt/ant-&apache-ant-version;/etc: + The patch changes the configuration directory to + /etc/ant to conform with + FHS guidelines. This command creates a symlink from the + configuration directory back to the installation directory as the package is + expecting to find the files there. -Configuration Information -Some packages will require ant to be in the search -path and the $ANT_HOME environment variable defined. -Satisfy these requirements by adding the following lines to -/etc/profile or to individual user's -~/.profile or ~/.bashrc files: + ln -v -sf ant-&apache-ant-version; /opt/ant: This + command is optional, and creates a convenience symlink. -export PATH=$PATH:/opt/ant/bin -export ANT_HOME=/opt/ant - + - + + Configuring Apache Ant - -Contents + + Config files - -Installed Programs -Installed Libraries -Installed Directories + /etc/ant/ant.conf, + ~/.ant/ant.conf, and + ~/.antrc - -ant, antRun, antRun.pl, complete-ant-cmd.pl, runant.pl and runant.py -ant-*.jar, xercesImpl.jar and xml-apis.jar -/etc/ant and /opt/ant-&apache-ant-version; - - + + ~/.ant/ant.conf + - -Short Descriptions - + + ~/.antrc + - -ant -is a Java based build tool used by -many packages instead of the conventional make -program. - -ant - - + + /etc/ant/ant.conf + - -antRun -is a support script used to start ant -build scripts in a given directory. - -antRun - - + - -antRun.pl -is a Perl script that provides -similar functionality offered by the antRun script. - -antRun.pl - - + + Configuration Information - -complete-ant-cmd.pl -is a Perl script that allows -Bash to complete an ant -command-line. - -complete-ant-cmd.pl - - + Some packages will require ant to be in the search + path and the $ANT_HOME environment variable defined. + Satisfy these requirements by adding the following lines to + /etc/profile or to individual user's + ~/.profile or ~/.bashrc files: - -runant.pl -is a Perl wrapper script used to -invoke ant. - -runant.pl - - +export PATH=$PATH:/opt/ant/bin +export ANT_HOME=/opt/ant - -runant.py -is a Python wrapper script used to -invoke ant. - -runant.py - - + - -ant-*.jar -files are the Apache Ant -Java class libraries. - -ant-*.jar - - + - -xercesImpl.jar -is a Java class library used by -Apache Ant to perform XML -parsing. - -xercesImpl.jar - - + + Contents - -xml-apis.jar -contains the DOM -Java classes required by the -Apache Ant XML formatter. - -xml-apis.jar - - - + + Installed Programs + Installed Libraries + Installed Directories - + + ant, antRun, antRun.pl, complete-ant-cmd.pl, runant.pl, and runant.py + ant-*.jar, xercesImpl.jar, and xml-apis.jar + /etc/ant and /opt/ant-&apache-ant-version; + + + + + Short Descriptions + + + + + ant + + is a Java based build tool used by + many packages instead of the conventional make + program. + + ant + + + + + + antRun + + is a support script used to start ant + build scripts in a given directory. + + antRun + + + + + + antRun.pl + + is a Perl script that provides + similar functionality offered by the antRun script. + + antRun.pl + + + + + + complete-ant-cmd.pl + + is a Perl script that allows + Bash to complete an ant + command-line. + + complete-ant-cmd.pl + + + + + + runant.pl + + is a Perl wrapper script used to + invoke ant. + + runant.pl + + + + + + runant.py + + is a Python wrapper script used to + invoke ant. + + runant.py + + + + + + ant-*.jar + + files are the Apache Ant + Java class libraries. + + ant-*.jar + + + + + + xercesImpl.jar + + is a Java class library used by + Apache Ant to perform XML parsing. + + xercesImpl.jar + + + + + + xml-apis.jar + + contains the DOM Java classes required + by the Apache Ant XML formatter. + + xml-apis.jar + + + + + + +