ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lev Zak <lev....@schema.com>
Subject RE: <ant> task does not run the build.xml with new basedir correc tly
Date Wed, 06 Feb 2002 22:37:08 GMT
 'inheritAll="no"' - it is exactly what I need.
Thanks.
Lev.

> -----Original Message-----
> From: Diane Holt [mailto:holtdl@yahoo.com]
> Sent: Wednesday, February 06, 2002 11:21 PM
> To: Ant Users List
> Cc: Mike Dubman
> Subject: Re: <ant> task does not run the build.xml with new 
> basedir correctly
> 
> 
> --- Lev Zak <lev.zak@schema.com> wrote:
> > When I run "ant release" under d:\dir_1 , I receive the following:
> [snip]
> >                 basedir    = D:\dir_2
> >                 configDir  = D:\dir_1/config
> [snip]
> > I expect to receive the following:
> > 
> [snip]
> > because a "basedir" changed to "d:\dir_2" 
> > What I missed?
> 
> Once you've set configDir in proj1, the property will stay at 
> that value
> unless you either override it with a nested <property> in 
> your <ant> task
> (ie., <property name="configDir" 
> value="${releasedir}/config"/>), or set
> 'inheritAll="no"' and set the property in your proj2 
> buildfile. Which way
> you choose to do it depends on what you intend for your 
> proj2, whether you
> expect to run it independent of proj1, and if any targets you 
> intend to
> run directly from it reference ${configDir}.
> 
> Diane
> 
> 
> =====
> (holtdl@yahoo.com)
> 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Send FREE Valentine eCards with Yahoo! Greetings!
> http://greetings.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>
> 

--
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