I believe the <ant> task can take a nested <property> or <propertyset> 
sub-element, this will allow you to pass the value of properties from the 
parent script to the child script.

See: http://ant.apache.org/manual/CoreTasks/ant.html for more info

Hope that helps,

Ninju
 


----- Original Message ----
From: Dave <[EMAIL PROTECTED]>
To: user@ant.apache.org
Sent: Friday, June 8, 2007 11:48:12 AM
Subject: Can properties set in a build called from another build be reference 
by the calling buildfile?


I have two ant scripts. A target in build-1 has dependencies on a target in
build-2. Those dependences are called using the <ant> task. The target in
build-1 will run depending on whether or not a property is set by a
<condition> task in the target in build-2. I wondering can (and if not, how
could it be done) the original build-1 read properties set by build-2?

-- 
There are 10 types of people in the world.
Those who understand binary and those who do not.


 
____________________________________________________________________________________
Be a PS3 game guru.
Get your game face on with the latest PS3 news and previews at Yahoo! Games.
http://videogames.yahoo.com/platform?platform=120121

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to