ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antoine Levy-Lambert" <anto...@gmx.de>
Subject Re: dynamic build.properties
Date Mon, 09 Nov 2009 21:38:52 GMT
Hi,

ant-contrib has a for task with which you can iterate on the comma-separated values in

jobname=job1,job2,...

then using the ant task, you can trigger a build for each value.

Regards,

Antoine
-------- Original-Nachricht --------
> Datum: Mon, 9 Nov 2009 12:11:25 -0800 (PST)
> Von: cvsusr <spers@rediffmail.com>
> An: user@ant.apache.org
> Betreff: dynamic build.properties

> 
> Hi 
> 
> I have a requirement where I need to build for each jobname provided.
> 
> I am taking the jobnames from cvs update and storing it in a text file..
> "job.txt"
> 
> As of now i gave a variable name in build.properties as 
> 
> jobname=job1
> 
> when it is one jobname there wont be issue.. when there are many jobs how
> should i proceed..
> 
> i thought i could have the variable in build.properties as 
> 
> jobname=job1,job2..
> 
> this variable can be updated from the textfile "job.txt".
> 
> how to update this dynamically through ant..?
> 
> And after that also.. how do we perform the build for each jobname? 
> 
> any one have better suggestions.. please let me know how to do this in
> ant.
> 
> thanks a lot.
> -- 
> View this message in context:
> http://old.nabble.com/dynamic-build.properties-tp26272860p26272860.html
> Sent from the Ant - Users mailing list archive at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org

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


Mime
View raw message