ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: MULTI DEPLOYMENT
Date Mon, 02 Jan 2006 05:22:59 GMT
On Mon, 2 Jan 2006, Karthik <karthikn@xius.org> wrote:

>   Can this be done in another way

Sure.

>   1)Create destination targets fixed for 1..n servers in the
>     build.xml.

works

>   2)fire the Ant tasks in loop for deployment.

loops are not really supported in Ant - and not liked by most Ant
developers either.

Personally I'd write a deploy-all target that depends on the targets
of step one and add the new target name to the depends list if you add
a new system.

Stefan

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


Mime
View raw message