I'm sure that others will have differing opionions.  What I say here is
just mine.

I've never seen a Linux distribution with Ant, Tomcat, etc. packaged in
a convenient and scalable way.  I install manually (i.e. without the
package management software that I use for everything other than third
party Java products), knowing that I will have to spend about 15
minutes/year updating manually.  For any hosts where Ant has been
installed with an rpm, I alias "ant" to "ant --noconfig".  Otherwise,
the heavy-handed scripts under /etc will override carefully set
environmental variables and such (often ignoring the Ant distribution in
your search path, causing XML library conflicts, etc.).


David Weintraub wrote:
> 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?
>
> --
> David Weintraub
> qazw...@gmail.com


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
For additional commands, e-mail: user-h...@ant.apache.org

Reply via email to