Java Mailing List Archive

http://www.ant-tasks.com/

Apache Ant Archive

» Ant Users List
» Ant Developers List
Can properties set in a build called from another build be reference by the

Can properties set in a build called from another build be reference by the

2007-06-11       - By Ninju Bohra
Reply:     1     2  

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 <davidcorley@(protected)>
To: user@(protected)
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: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)


©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.