ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karthik" <karth...@xius.org>
Subject RE: MULTI DEPLOYMENT
Date Mon, 02 Jan 2006 05:45:49 GMT
Hi For


   But every targets have to be run 
   seperately for every deployment / roll back process for 1..n servers.



with regars
KARTHIK
-----Original Message-----
From: Stefan Bodewig [mailto:bodewig@apache.org]
Sent: Monday, January 02, 2006 10:53 AM
To: user@ant.apache.org
Subject: Re: MULTI DEPLOYMENT


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


-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.14.10/218 - Release Date: 1/2/2006



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


Mime
View raw message