ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sean Landis <Sean_Landis-CSL...@email.mot.com>
Subject inheriting references
Date Thu, 14 Feb 2002 18:41:14 GMT
Are reference identifiers inherited by default across ant tasks?

In a top level ant build file I have a path:

<path id="foo" ... />

I have a target that uses the ant task to call a subproject build
file. In that file I try to use 'foo' but I get an error that 
foo is an invalid reference. If I duplicate the path tag in the
subproject build file it works. 

Is there a way to get the reference to be inherited just like the
properties are?

Thanks,
Sean

Mime
View raw message