ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Igor Pasemnik <igor.pasem...@cloakware.com>
Subject Re: property gets passed when <ant inheritALL="false" ...> specified
Date Wed, 09 Jun 2004 13:48:42 GMT
never mind the description of <ant .../> task describes everything, I 
should have looked there first.



Igor Pasemnik wrote:

> Hello,
>
> there was a similar issue posted earlier about properties being passed 
> from parent to child builds, however <subant ...> was considered and 
> it was not reproducible.
>
> Anyway, I'm wondering whether anybody has encountered this before 
> and/or has a solution, or simply sees what is wrong with my build 
> infrastructure (1.6.1 ant).
>
> I have a top level build.xml that calls sequentially build.xml found 
> in ${components} property, sub directories.
>
> Some component in ${components} depends on others being already build, 
> a simple dependency, so, this component's build infrastructure calls 
> the top level build.xml and supplies ${components} list to be build, 
> to reflect the dependency.
>
> When the top level build.xml tries to build these components (that 
> other component depends on), one of them has its own sub components 
> and it re-uses ${components} property, which should be overwritten by 
> its own list, however it inherits this ${comments} property from the 
> top level build.xml, which is wrong.
>
> Anyway, to make the story short I've included *.tar.gz file which 
> contains a simple build infrastructure to exemplify this, it does not 
> really build anything.
>
> Thanks in advance.
>
>------------------------------------------------------------------------
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>For additional commands, e-mail: user-help@ant.apache.org
>

-- 
Igor Pasemnik, Software Engineer, Cloakware Corporation
www.cloakware.com  "secure software ... from the inside out"
igor.pasemnik@cloakware.com  613-271-9446 x289 613-271-9447 fax




Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message