ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject AW: Ant and rpm_mode
Date Fri, 23 Jan 2009 07:51:34 GMT
- I would place AntContrib somewhere and use <taskdef>.
- Use Ivy's <ivy:cachepath> for getting the the jar and setting up the classpath for
- integrate using "-lib" option

The last option could be done for all projects of a user if the user had a pre-file.


>-----Urspr√ľngliche Nachricht-----
>Von: Blaine Simpson [] 
>Gesendet: Freitag, 23. Januar 2009 00:53
>An: Ant Users List
>Betreff: Re: Ant and rpm_mode
>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
>> 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 
>> 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
>To unsubscribe, e-mail:
>For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message