ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject AW: launch a different version of ant
Date Tue, 06 Dec 2005 05:56:39 GMT
>> Is there a way to launch a different version of ant from an already 
>> running ant process.
>> I am launching an ant process via the "Cruise Control" 
>automated build 
>> tool which launches ant version 1.6.3.
>> I am building a weblogic application which bundles an older 
>version of 
>> ant which is: 1.5.3
>What we did was use the 'antscript' attribute of the Cruise 
><ant> builder. This way you're in total control of what's 
>started, because the .bat or .sh script executed can change 
>ANT_HOME or do any number of things. It's sometimes tricky to 
>have the correct Ant error code propagate out to Cruise, but 
>otherwise it works fine.
>Beside this work around, I don't know of the way to do what 
>you want. --DD

Hi Dominique, in Bug14941 we (you and me :) showed how to
invoke Ant from inside a buildfile as usual java application.

So I would play with the <java> attributes to set a new 
environment ;-)


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

View raw message