Java Mailing List Archive

http://www.ant-tasks.com/

Home » Ant Developers List »

Re: Tiny patch to enable Recursion in Ant

Colm Smyth

2008-05-28

Replies: Find Java Web Hosting

Author LoginPost Reply
It's nice to see some feedback and new ideas; would anybody like to
comment on what I actually did? ;)

See https://issues.apache.org/bugzilla/show_bug.cgi?id=44980 for the
issue I raised almost immediately after posting a request for
comments.

2008/5/28 Steve Loughran <stevel@(protected)>:
> 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 <lateralcoder@(protected):
>>
>>> 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: dev-unsubscribe@(protected)
> For additional commands, e-mail: dev-help@(protected)
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@(protected)
For additional commands, e-mail: dev-help@(protected)

©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.