ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran" <stev...@iseran.com>
Subject Re: scope of global properties in nested build files
Date Fri, 22 Feb 2002 23:07:41 GMT

----- Original Message -----
From: "Jiang, Bianca" <BJiang@rational.com>
To: "'Ant Users List'" <ant-user@jakarta.apache.org>
Sent: Friday, February 22, 2002 10:57
Subject: RE: scope of global properties in nested build files


> Thanks for the reply.
>
> > historically, yes. But now there is an inheritAll flag you
> > can set to false
> > to stop this happening
>
> which version of Ant is this attribute available?  and to what
> task can it apply to?
>
> I have Ant1.4.1 and tried it on "property", "javac",
> it says "the XXX task doesn't support the inheritAll attribute."
>

you do it on the <ant> invocation
<ant inheritall=false>

and it tells the call not to pass down any properties other than those you
name. NB: Ant 15.alpha also lets you pass down references


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