Le vendredi 23 janvier 2009, David Weintraub a écrit : > My desktop machine is now a Fedora 10 machine, and I've been having a > bit of an issue with installing ant-contrib.jar. > > Normally, you simply install the ant-contrib.jar inside the > $ANT_HOME/lib, and everything is fine. However, that doesn't work on > my machine unless I explicitly turn off rpm_mode. And, in order for > that to work, I had to install the Ant version directly from > ant.apache.org instead of relying on Fedora's packaging mechanism. > > How do I install the ant-contrib package on a Fedora machine? How does > Ant find the various jar files it needs when it is in rpm_mode? > > Right now, I had to: > > 1). Move /usr/share/ant to /usr/share/ant.orig > 2). Install a new version of ant in /usr/share/ant > 3). Move /usr/bin/ant to /usr/bin/ant.orig > 4). Make a symbolic link from /usr/share/ant/bin/ant to /usr/share/ant > 5). Modify /etc/ant.conf to set rpm_mode to false. > > Doing this makes it impossible for my package manager to update Ant > when a newer version comes out. What should I have done in order to > get Ant to work with Ant-Contrib? >
Use JPackage[1]. It works wonderfully, and you get to use it with yum/urpmi. [1] http://www.jpackage.org -- Francis Galiegue ONE2TEAM Ingénieur système Mob : +33 (0) 6 83 87 78 75 Tel : +33 (0) 1 78 94 55 52 f...@one2team.com 40 avenue Raymond Poincaré 75116 Paris --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org