Install Sun JDK first. Follow
this post.After Sun JDK installed completely we can start install Ant. Add this repositories for new version of Apache Ant
# db yum_repositories set jpackage-5-generic repository \
Name 'JPackage 5.0 (free), generic' \
MirrorList 'http://www.jpackage.org/mirrorlist.php?dist=generic&type=free&release=5.0' \
GPGCheck yes \
Visible yes \
status enabled
# db yum_repositories set jpackage-5-rhel repository \
Name 'JPackage (free) for Red Hat Enterprise Linux $releasever' \
MirrorList 'http://www.jpackage.org/mirrorlist.php?dist=redhat-el-$releasever&type=free&release=5.0' \
GPGCheck yes \
status enabled
# expand-template /etc/yum.smerepos.d/sme-base.repo
Install Apache Ant
# yum install ant
No comments:
Post a Comment