ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Devienne <DDevie...@lgc.com>
Subject [Ant 1.6beta1] Inherit default target of imported build file?
Date Wed, 15 Oct 2003 15:45:52 GMT
If I design a build file to be imported, for directory traversal in this
case, with a default target, and import it from the main build file, which
doesn't have a default target, running Ant on the latter without a target
specified, it does nothing, and thus I conclude it doesn't inherit the
imported build file default target. I wish it was, but it might be
complicated with several imports? I have only one, and inheriting it when
not define at the top level would be good.

Also, I'm using <import> to replace XML entity include, and it's noticeably
slower, when the build file/snippet imported/included is rather small. I'm
using an xmlns:bm="antlib:com.lgc.buildmagic" in both. Everything's
relative, and it goes roughly from 1 second to 2/3 seconds, but the
difference is in the startup time, before it starts recursing my
directories. Not huge, but clearly noticeable. --DD

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


Mime
View raw message