ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Hatcher <e...@ehatchersolutions.com>
Subject namespaced targets via <import>
Date Thu, 27 May 2004 19:59:14 GMT
I've know about this, but a friend just brought it up to me again and 
maybe I've mentioned this before....

imported.xml
    <project name="imported">
      <target name="some-target"/>
    </project>

build.xml
    <project name="build">
      <import file="imported.xml">
      <target name="another-target" depends="imported.some-target"/>
    </project>

Doesn't work, since some-target is not overridden.

It would be nice if all imported build file targets were namespaced 
regardless of whether the targets were overridden or not.

What are the implications of making this change?

Thanks,
	Erik


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message