UmVirt LFS Package info

DB commit: c78e95157185199cceff370fa5b5f1dd2a1be2fa
APP commit: cac3f2066a9a05955b29d720b9b9b14f534d21c2

apache-ant

The Apache Ant package is a Java-based build tool. In theory, it is like the make command, but without make's wrinkles. Ant is different. Instead of a model that 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 that executes various tasks. Each task is run by an object that implements a particular task interface.

Package info

Codename: apache-ant
Source file: apache-ant-1.10.4-src.tar.xz
Source directory: apache-ant-1.10.4
Package URL: https://umvirt.com/linux/downloads/0.1/packages/a/apache-ant-1.10.4-src.tar.xz
Package md5-checksum URL: apache-ant-1.10.4-src.tar.xz.md5sum
Dependances: *** NO DEPENDANCES FOUND ***
Dependance of: libreoffice.
Patches: *** NO PATCHES FOUND ***
Addons: NetRexx.zip, maven2-ant-1.10.4.tar.gz, maven-ant-tasks-2.1.3.jar.
Nestings *** NO NESTINGS FOUND ***
Configuration script:
sed -i 's/--add-modules java.activation/-html4/' build.xml

#maven2 local repository
tar -xf ../maven2-ant-1.10.4.tar.gz
mkdir ~/.m2
mkdir ~/.m2/repository/
cp -rv maven2/* ~/.m2/repository/

#NetRexx.zip dependance
mkdir ~/.ant
mkdir ~/.ant/tempcache
cp -v ../NetRexx.zip ~/.ant/tempcache

cp -v ../maven-ant-tasks-2.1.3.jar lib/optional

cd maven2
find -name *.pom -exec cp -v {} ../lib/optional \;
find -name *.jar -exec cp -v {} ../lib/optional \;

cd ..


./bootstrap.sh

bootstrap/bin/ant -f fetch.xml -Ddest=optional

Build script:
./build.sh -Ddist.dir=$PWD/ant-1.10.4 dist

Install script:
cp -rv ant-1.10.4 /opt/            &&
chown -R root:root /opt/ant-1.10.4 &&
ln -sfv ant-1.10.4 /opt/ant

cat > /etc/profile.d/ant.sh << EOF
# Begin /etc/profile.d/ant.sh

pathappend /opt/ant/bin
export ANT_HOME=/opt/ant

# End /etc/profile.d/ant.sh
EOF


Comments:

  1. Autonomous compilation