Ho tentato di installare ant 1.8 su una scatola Ubuntu 11.04 usando queste istruzioni:
http://www.thegeekwork.com/how-to-install-ant-1-8-2-using-ppa-on-ubuntu/
E quando elenco ciò che ha installato, ottengo quanto segue:
$ dpkg -L ant
/.
/usr
/usr/bin
/usr/share
/usr/share/maven-repo
/usr/share/maven-repo/org
/usr/share/maven-repo/org/apache
/usr/share/maven-repo/org/apache/ant
/usr/share/maven-repo/org/apache/ant/ant
/usr/share/maven-repo/org/apache/ant/ant/1.8.2
/usr/share/maven-repo/org/apache/ant/ant/1.8.2/ant-1.8.2.pom
/usr/share/maven-repo/org/apache/ant/ant/debian
/usr/share/maven-repo/org/apache/ant/ant/debian/ant-debian.pom
/usr/share/maven-repo/org/apache/ant/ant-launcher
/usr/share/maven-repo/org/apache/ant/ant-launcher/1.8.2
/usr/share/maven-repo/org/apache/ant/ant-launcher/1.8.2/ant-launcher-1.8.2.pom
/usr/share/maven-repo/org/apache/ant/ant-launcher/debian
/usr/share/maven-repo/org/apache/ant/ant-launcher/debian/ant-launcher-debian.pom
/usr/share/maven-repo/org/apache/ant/ant-parent
/usr/share/maven-repo/org/apache/ant/ant-parent/1.8.2
/usr/share/maven-repo/org/apache/ant/ant-parent/1.8.2/ant-parent-1.8.2.pom
/usr/share/maven-repo/org/apache/ant/ant-parent/debian
/usr/share/maven-repo/org/apache/ant/ant-parent/debian/ant-parent-debian.pom
/usr/share/ant
/usr/share/ant/bin
/usr/share/ant/bin/ant
/usr/share/ant/bin/complete-ant-cmd.pl
/usr/share/ant/bin/antRun
/usr/share/ant/bin/antRun.pl
/usr/share/ant/bin/runant.pl
/usr/share/ant/lib
/usr/share/ant/etc
/usr/share/ant/etc/ant-bootstrap.jar
/usr/share/doc
/usr/share/doc/ant
/usr/share/doc/ant/copyright
/usr/share/doc/ant/README.gz
/usr/share/doc/ant/README.Debian
/usr/share/doc/ant/changelog.Debian.gz
/usr/share/man
/usr/share/man/man5
/usr/share/man/man5/build.xml.5.gz
/usr/share/man/man1
/usr/share/man/man1/ant.1.gz
/usr/share/java
/usr/share/java/ant-launcher-1.8.2.jar
/usr/share/java/ant-1.8.2.jar
/usr/bin/ant
/usr/share/maven-repo/org/apache/ant/ant/1.8.2/ant-1.8.2.jar
/usr/share/maven-repo/org/apache/ant/ant/debian/ant-debian.jar
/usr/share/maven-repo/org/apache/ant/ant-launcher/1.8.2/ant-launcher-1.8.2.jar
/usr/share/maven-repo/org/apache/ant/ant-launcher/debian/ant-launcher-debian.jar
/usr/share/ant/lib/ant-launcher.jar
/usr/share/ant/lib/ant.jar
/usr/share/java/ant-launcher.jar
/usr/share/java/ant.jar
/usr/share/java/ant-bootstrap.jar
Così apparentemente è stata installata la formica 1.8. Tuttavia, quando controllo la versione di ant, ottengo ancora ant 1.7:
$ /usr/bin/ant -version
Apache Ant version 1.7.0 compiled on December 13 2006
Qualche idea su come ottenere una sospensione di Ant 1.8 su questa scatola?
Grazie!