ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Diane Holt <>
Subject Re: Retrieving Project Properties across ant calls
Date Wed, 10 Apr 2002 01:39:45 GMT
--- Ravi Dodla <> 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=.../>.



Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message