RE: Asking for new feature: Self-Discovery of service to make Ant a real extensible system

2006-05-04 Thread Steve
> -Original Message- > From: Steve Loughran [mailto:[EMAIL PROTECTED] > Sent: Wednesday, 3 May 2006 6:44 AM > To: Ant Users List > Subject: Re: Asking for new feature: Self-Discovery of > service to make Ant a real extensible system > > Huxi LI wrote: > &

AW: Asking for new feature: Self-Discovery of service to make Ant a real extensible system

2006-05-03 Thread Jan.Materne
>> As a simple example, when ant is >> integrated in Groovy using the AntBuilder, we can seamlessly invoke >> any Ant tasks and datatypes by using simple method call such as: >> >> ant.echo("Hello World") >> >> > > >I dont know what we can do to make groovy's life easier. Withou

Re: Asking for new feature: Self-Discovery of service to make Ant a real extensible system

2006-05-02 Thread Steve Loughran
Huxi LI wrote: Very interesting dicussion in this thread. And it seems most people are in favor of using namespace as a single mechanism. It is true that using namespace is the most simple way to resolve conflict, but I insist that it is not the most transparent solution for users. That is beca

Re: Asking for new feature: Self-Discovery of service to make Ant a real extensible system

2006-05-02 Thread Dominique Devienne
On 5/2/06, Huxi LI <[EMAIL PROTECTED]> wrote: [...] but I insist that it is not the most transparent solution for users. It is in fact too transparent, so transparent that users or maintainers of the build scripts have a hard time figuring out where the tasks are coming from or what they do. Th

Re: Asking for new feature: Self-Discovery of service to make Ant a real extensible system

2006-05-02 Thread Huxi LI
Very interesting dicussion in this thread. And it seems most people are in favor of using namespace as a single mechanism. It is true that using namespace is the most simple way to resolve conflict, but I insist that it is not the most transparent solution for users. That is because, IMHO, uniform

AW: Asking for new feature: Self-Discovery of service to make Ant a real extensible system

2006-05-01 Thread Jan.Materne
t Users List >Betreff: Re: Asking for new feature: Self-Discovery of service >to make Ant a real extensible system > >--- Steve Loughran <[EMAIL PROTECTED]> wrote: >[SNIP] >> I've taken to declaring macros/presets in their own ns too. > >I envision a world

Re: Asking for new feature: Self-Discovery of service to make Ant a real extensible system

2006-05-01 Thread Matt Benson
--- Steve Loughran <[EMAIL PROTECTED]> wrote: [SNIP] > I've taken to declaring macros/presets in their own > ns too. I envision a world where this is not considered remarkable. Macros, presets, and scripts are good for rapid prototyping, but if a task can be composed of other tasks in Java, what

Re: Asking for new feature: Self-Discovery of service to make Ant a real extensible system

2006-05-01 Thread Steve Loughran
Dominique Devienne wrote: >> There's no discovery without that xmlns declaration, so ant boot times >> arent hit by a need to scan every JAR on the classpath. > > > That's one reason, and a very valid one IMHO. Another is to have > things stay explicit in Ant as much as possible. I dispute your po

Re: Asking for new feature: Self-Discovery of service to make Ant a real extensible system

2006-05-01 Thread Dominique Devienne
There's no discovery without that xmlns declaration, so ant boot times arent hit by a need to scan every JAR on the classpath. That's one reason, and a very valid one IMHO. Another is to have things stay explicit in Ant as much as possible. I dispute your point that auto-discovering of tasks is

Re: Asking for new feature: Self-Discovery of service to make Ant a real extensible system

2006-04-30 Thread Steve Loughran
Huxi LI wrote: On 4/28/06, Steve Loughran <[EMAIL PROTECTED]> wrote: Which is precisely why it is in Ant1.6. You add a new JAR to the system, all datatypes and tasks will be exported in a namespace of your choosing via an xmlns:mytasks="antlib:org.example.package" declaration. http://ant.apac

Re: Asking for new feature: Self-Discovery of service to make Ant a real extensible system

2006-04-29 Thread Huxi LI
On 4/29/06, Steve <[EMAIL PROTECTED]> wrote: The principal of self-discovery is possible based on the namespace controls already in current Ant. By adding a custom ComponentHelper you can intercept task loading requests. For example, the ComponentHelper class includes the following operation:

Re: Asking for new feature: Self-Discovery of service to make Ant a real extensible system

2006-04-29 Thread Huxi LI
On 4/28/06, Steve Loughran <[EMAIL PROTECTED]> wrote: Which is precisely why it is in Ant1.6. You add a new JAR to the system, all datatypes and tasks will be exported in a namespace of your choosing via an xmlns:mytasks="antlib:org.example.package" declaration. http://ant.apache.org/manual/ind

Re: Asking for new feature: Self-Discovery of service to make Ant a real extensible system

2006-04-29 Thread Huxi LI
I joined this mail-list a few days ago and I do not know that this is an old topic. Sorry for that. On 4/28/06, Jeffrey E Care <[EMAIL PROTECTED]> wrote: Auto loading has already been discussed on the developer list; please check the archives and take any further discussion there instead of t

Re: Asking for new feature: Self-Discovery of service to make Ant a real extensible system

2006-04-29 Thread Huxi LI
On 4/28/06, Row M, Vishal <[EMAIL PROTECTED]> wrote: A good thought , its really a good feature Thanks for your support.

RE: Asking for new feature: Self-Discovery of service to make Ant a real extensible system

2006-04-29 Thread Steve
> -Original Message- > From: Huxi LI [mailto:[EMAIL PROTECTED] > Sent: Friday, 28 April 2006 5:54 PM > To: user@ant.apache.org > Subject: Asking for new feature: Self-Discovery of service to > make Ant a real extensible system > > **Hi everyone, >

Re: Asking for new feature: Self-Discovery of service to make Ant a real extensible system

2006-04-28 Thread Steve Loughran
Huxi LI wrote: **Hi everyone, I would like to launch a discussion about implementation of self-discovery feature in Ant. The idea is that when users drop a jar in share directory, all custiom tasks and datatypes should be discovered automatically by Ant. The same is true when jars are removed fr

Re: Asking for new feature: Self-Discovery of service to make Ant a real extensible system

2006-04-28 Thread Jeffrey E Care
Auto loading has already been discussed on the developer list; please check the archives and take any further discussion there instead of the user list. Jeffrey E. (Jeff) Care [EMAIL PROTECTED] IB

RE: Asking for new feature: Self-Discovery of service to make Ant a real extensible system

2006-04-28 Thread Row M, Vishal
A good thought , its really a good feature -Original Message- From: Huxi LI [mailto:[EMAIL PROTECTED] Sent: Friday, April 28, 2006 1:54 PM To: user@ant.apache.org Subject: Asking for new feature: Self-Discovery of service to make Ant a real extensible system **Hi everyone, I would

Asking for new feature: Self-Discovery of service to make Ant a real extensible system

2006-04-28 Thread Huxi LI
**Hi everyone, I would like to launch a discussion about implementation of self-discovery feature in Ant. The idea is that when users drop a jar in share directory, all custiom tasks and datatypes should be discovered automatically by Ant. The same is true when jars are removed from the share dire