You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Otto von Wachter <vo...@yahoo.com> on 2002/08/06 20:33:01 UTC
Contributing to Ant?
Hello,
I've been following the Ant project and recently subscribed to the ant-dev list. I love Ant, and I would like to be actively involved instead of just standing on the sidelines. I would also love to contribute to the project in some way.
I have a few ideas of areas that I would be especially interested in contributing:
* Define task contexts that define various common aspects (logging, failure handling, etc.), and assign them to tasks.
I am interested in AOP, etc. and it also occurred to me that this would be an excellent way to implement common functionality across tasks. I have experimeneted with AspectJ and am very impressed with it, but I'm not sure if Ant was planning on going this route or simulating aspects with plain Java.
* Move to a system that allows docs to be generated - doc snippets should be included with the tasks they document. (Which DTD? Which tools for generation?)
An idea I had: could a task descriptor provide information like which attributes/combination of attributes are required, etc., and this information can be used to generate documentation, as well used to enforce the contract, either by generating code to go with the task, or by ant checking at runtime. I think this would be good because a) the documention will always be in sync with the task, and b) it would simplify the process of writing a new task.
I would be interested in helping with development of these features, or any other areas that need development resources.
Just to give you some background about myself, I'm a Java developer, and use several of the Jakarta projects (Ant, velocity, turbine, jetspeed, etc) in my work. I actually have used Ant quite a bit, even beyond a build tool, to run batch jobs, etc. I know that the focus of Ant is to remain maily as a build tool, but I'm curious if there are any other efforts under way (or inteterest in the community) aimed at leveraging the strengths of Ant for other purposes? I noticed a mention of "Peter's cron-server" in the Ant2 requested featrues and it sparked my curiousity.
Regards,
Otto von Wachter
Re: Contributing to Ant?
Posted by Stefan Bodewig <bo...@apache.org>.
On Tue, 6 Aug 2002, Otto von Wachter <vo...@yahoo.com> wrote:
> I've been following the Ant project and recently subscribed to the
> ant-dev list. I love Ant, and I would like to be actively involved
> instead of just standing on the sidelines. I would also love to
> contribute to the project in some way.
welcome!
There is nothing much to add to Eriks response 8-)
Stefan
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Contributing to Ant?
Posted by Erik Hatcher <ja...@ehatchersolutions.com>.
Otto,
Great enthusiasm! A few inline comments:
Otto von Wachter wrote:
> I am interested in AOP, etc. and it also occurred to me that this would be an excellent way to implement common functionality across tasks
I think AOP would be slick and handy for Ant also, but has not been met
with much fanfare because of the complexity and learning-curve required
for new users. The Myrmidon project is doing "aspects" in code but not
AspectJ - or so I've been told, I think.
> * Move to a system that allows docs to be generated - doc snippets should be included with the tasks they document.
Have a look at the proposal/xdocs stuff that I did. It uses XDoclet to
generate documentation from Ant's source code. It needs to be
refactored to use the newer (currently CVS) version of XDoclet, but it
does work pretty nicely as-is.
> An idea I had: could a task descriptor provide information like which attributes/combination of attributes are required, etc.
This is the plan for the xdocs stuff, and would not be hard to encode
that information. Enforcing the contract denoted by @tags/metadata is a
different story and would require a different architecture altogether.
As for getting involved in Ant development - just stick around and
participate on ant-dev. Ask questions, submit patches, and jump right in!
Welcome!
Erik
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Task scoping, configuration, logging (Re: Contributing to Ant?)
Posted by Jeff Turner <je...@apache.org>.
On Tue, Aug 06, 2002 at 02:33:01PM -0400, Otto von Wachter wrote:
> Hello,
>
> I've been following the Ant project and recently subscribed to the
> ant-dev list. I love Ant, and I would like to be actively involved
> instead of just standing on the sidelines. I would also love to
> contribute to the project in some way.
>
> I have a few ideas of areas that I would be especially interested in contributing:
>
> * Define task contexts that define various common aspects (logging,
> failure handling, etc.), and assign them to tasks.
That would be very useful. Tasks could implement marker interfaces, like
Configurable and LogEnabled, and Ant then passes them a Logger or
Configuration object. Standard Avalon stuff.. are there any plans for
anything like this in 1.x?
> Just to give you some background about myself, I'm a Java developer,
> and use several of the Jakarta projects (Ant, velocity, turbine,
> jetspeed, etc) in my work. I actually have used Ant quite a bit, even
> beyond a build tool, to run batch jobs, etc. I know that the focus of
> Ant is to remain maily as a build tool, but I'm curious if there are
> any other efforts under way (or inteterest in the community) aimed at
> leveraging the strengths of Ant for other purposes? I noticed a mention
> of "Peter's cron-server" in the Ant2 requested featrues and it sparked
> my curiousity.
Self-plug: http://aft.sourceforge.net, and Ant-based functional testing
framework. Relating to your comment above, it implements a scoping system
where tasks can belong to 'groups', and groups contain loggers and
configuration properties, which are applied to all group member tasks.
Groups are inheritable. Full description at
http://aft.sourceforge.net/manual/Grouping.html. I'd be very interested
in a more general task scoping and configuration system.
--Jeff
>
> Regards,
> Otto von Wachter
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>