Stefan Bodewig wrote:
sorry for the delay, a combination of a whole lot of work, a broken
iBook, very nice weather and severe back pain (not necessarily in that
order) have kept me offline.
On Wed, 14 May 2008, Colm Smyth <[EMAIL PROTECTED]> wrote:
Yes I used subant, but as I said, it can't recurse on the current
target.
Since recursion should be a core function of a hierarchical build
system, I think this patch is worth adding to Ant.
First of all your original mail didn't contain the patch itself.
Second you said you used ant-contrib's for and I pointed out that
subant should be enough. The only thing that's missing is a property
that knows the current target, isn't it?
I know we have rejected the idea of such a property in the past, but
we may be at a different point today, so if you open an enhancement
request for such a property (or find the old one and reopen it), that
would e the right place to attach a patch to enable it.
I could imagine a task to set a property to the current target
<location target="targetproperty" buildfile="fileproperty" />
...maybe even something for a complete stack trace/list of imports that
is live
--
Steve Loughran http://www.1060.org/blogxter/publish/5
Author: Ant in Action http://antbook.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]