Thanks Henri. It turns out it might have been an issue related to jpackage.org. Namely that on Linux I expected,

   export ANT_HOME=/tmp/apache-ant-1.6.5
   export PATH=$ANT_HOME/bin:$PATH

would run the right version of ant. Alas ant seems to also use this file "/etc/ant.conf" (presumably only on Linux) which ignores the set ANT_HOME and overrides it, unless you run it like this,

   $ ant --noconfig

This kinda blows my mind. And it is unlike the JDK (when you set JAVA_HOME, and add the right one to your path, you get the one you wanted.)

-bob

Henri Gomez wrote:

Did you take a look at jpackage projet www.jpackage.org for prebuild
tomcat 5 Rpms ?

http://www.jpackage.org/rpm.php?id=2772


2006/1/31, Mladen Turk <[EMAIL PROTECTED]>:
Bob Herrmann wrote:
seems you need both "ant1.5" and "ant1.5" to compile tomcat 5.0

Come one :)
I think you have a serious problems with your setup.


If you first run "ant1.5" (from a clean setup) you will get this error,

Well, lots of us are building Tomcat on a daily basis, so
I would guess that you've tried something no-one ever
anticipated.

Regards,
Mladen.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to