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:[EMAIL PROTECTED]
Sent: Monday, January 02, 2006 10:53 AM
To: user@ant.apache.org
Subject: Re: MULTI DEPLOYMENT


On Mon, 2 Jan 2006, Karthik <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to