You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Nathan Coast <na...@levelseas.com> on 2001/12/11 20:46:52 UTC

property problems

Hi,

I have a scenario where in the process of building a component,
sub-components are built. In doing so, a generic build file is used to build
the top level component.  This generic build file calls the sub-component
build files. these files in turn can call the generic build file (with
different values for properties).  The problem I'm seeing is that the
properties in the generic script aren't being updated the second time into
the file.

is updating of properties like this legal?

Cheers
Nathan


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper at LevelSeas for the presence of computer viruses.

**********************************************************************

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: property problems

Posted by Stefan Bodewig <bo...@apache.org>.
On Tue, 11 Dec 2001, Erik Hatcher <ja...@ehatchersolutions.com>
wrote:

> Are you setting inheritAll?

or not using it explicitly?

I think Nathan wants to set inheritAll to false when invoking the
subbuilds.

Stefan

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: property problems

Posted by Erik Hatcher <ja...@ehatchersolutions.com>.
Properties can be modified using the <property> sub-element of <ant> (which
is what I'm assuming you're using to call a sub-component build, right?)

Are you setting inheritAll?

What version of Ant are you using?  Could you provide a simple example of
what is not working as you'd like?

    Erik


----- Original Message -----
From: "Nathan Coast" <na...@levelseas.com>
To: "Ant User (E-mail)" <an...@jakarta.apache.org>
Sent: Tuesday, December 11, 2001 2:46 PM
Subject: property problems


> Hi,
>
> I have a scenario where in the process of building a component,
> sub-components are built. In doing so, a generic build file is used to
build
> the top level component.  This generic build file calls the sub-component
> build files. these files in turn can call the generic build file (with
> different values for properties).  The problem I'm seeing is that the
> properties in the generic script aren't being updated the second time into
> the file.
>
> is updating of properties like this legal?
>
> Cheers
> Nathan
>
>
> **********************************************************************
> This email and any files transmitted with it are confidential and
> intended solely for the use of the individual or entity to whom they
> are addressed. If you have received this email in error please notify
> the system manager.
>
> This footnote also confirms that this email message has been swept by
> MIMEsweeper at LevelSeas for the presence of computer viruses.
>
> **********************************************************************
>
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
>
>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>