ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Diane Holt <hol...@yahoo.com>
Subject Re: Retrieving Project Properties across ant calls
Date Wed, 10 Apr 2002 01:39:45 GMT
--- Ravi Dodla <Ravi.Dodla@valtech.com> wrote:
> I have a build script build-A.xml wholse target A invokes build-B.xml
> target B using an AntCall ..
> 
> I need to query some project properties which are set by a task in
> target B after the target A executes ..
> 
> How do I do this .. The problem I am having is that the project
> properties set by build-B.xml are not being propagated back to
> build-A.xml. Is there a way to do this ..

You'd need to write the properties that get set by build-B.xml out to a
properties file (using something like <echo> or <propertyfile>), then read
that file in from build-A.xml, using <property file=.../>.

Diane

=====
(holtdl@yahoo.com)



__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/

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


Mime
View raw message