ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <dona...@locus.apache.org>
Subject Re: Refactoring fork functionality into common (super) class
Date Sat, 21 Oct 2000 02:57:29 GMT
At 06:54  20/10/00 -0700, you wrote:
>I've been working on an ANTLR taskdef ( I should be in the position to
>submit it soon ).  I had to implement forking in order to get some tree
>stuff to work correctly, I took all of the code from the Java task.  So
>I took a quick look around and I'm thinking it may be possible to refactor
>the fork behavior into a superclass ( which would extend Task, I like the
>name ForkingTask, but YMMV ) and have a bunch of the tasks which use
>forking extend that.
>
>I may have a bit of time I could spend on this, but I would rather not
>put in the time, before I heard what people thought of it.  So...
>thoughts?

I would be +1 on that ;) That is one of the things I want to address real
soon now - and your method works for current ant so I like ;)

Cheers,

Pete

*------------------------------------------------------*
| "Nearly all men can stand adversity, but if you want |
| to test a man's character, give him power."          |
|       -Abraham Lincoln                               |
*------------------------------------------------------*

Mime
View raw message