UmVirt LFS Package info
DB commit: d35a620850806ab581b32cb34d268a904c9c0a5f
APP commit:
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://ulfs.org/linux/downloads/package_files/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:
Autonomous compilation
Apache/2.4.62 (Debian) Server at ulfs.org Port 443