ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Devienne <DDevie...@lgc.com>
Subject Extending Ant [was RE: Comparing files in subdirectories]
Date Fri, 25 Oct 2002 16:03:48 GMT
I've looked at the extension mechanism of selectors, which uses
Parameterizable, and I'd like to ask why a custom selector writer has to get
his attributes that way instead of the normal way task and type benefit,
i.e. using introspection?

It's great that the extension of selectors is possible at all, but why does
it have to break away from the Ant pattern of writing Bean classes? Being
able to add custom condition would then become very easy if such a mechanism
was put into place.

The same Paramerer/Parameterizable scheme might allow easier condition
extension in the short term, but the Bean pattern is so much term, and the
right Ant-way IMHO...

Finally, and probably more controversial, I'd like to ask about scripting
extensions to Ant... I've never seen this discussed, but very often writing
Java code to write one's custom condition or selector is overkill, and a
little in-build.xml implementation of such functionality using one of the
BSF Java-based scripting would make a lot of sense, especially given the
deployment issues of custom Ant extensions.

Is the above possible? Desirable? Thanks for any input on that. --DD

-----Original Message-----
From: Dominique Devienne [mailto:DDevienne@lgc.com] 
Sent: Friday, October 25, 2002 9:54 AM
To: 'Ant Users List'
Subject: RE: Comparing files in subdirectories

Why can't <condition>s be added dynamically, as <selector>s can?

How far are we from an ant-lib mechanism that would automatically pick up
all extensions like custom tasks, types, conditions, selectors, etc... ???

Thanks, --DD

-----Original Message-----
From: Stefan Bodewig [mailto:bodewig@apache.org] 
Sent: Friday, October 25, 2002 1:50 AM
To: ant-user@jakarta.apache.org
Subject: Re: Comparing files in subdirectories

... create a new condition (but using it
requires you to modify Ant's sources) ...

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message