ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Devienne <ddevie...@gmail.com>
Subject Re: launch a different version of ant
Date Tue, 06 Dec 2005 00:14:58 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

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


Mime
View raw message