ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jose Alberto Fernandez" <jalbe...@cellectivity.com>
Subject RE: new Task subclass
Date Thu, 22 Jul 2004 14:24:20 GMT
> From: Stefan Bodewig [mailto:bodewig@apache.org] 
> 
> On Thu, 22 Jul 2004, Jose Alberto Fernandez 
> <jalberto@cellectivity.com> wrote:
> >> From: Stefan Bodewig [mailto:bodewig@apache.org]
> >> 
> >> On Thu, 22 Jul 2004, Jose Alberto Fernandez
> >> <jalberto@cellectivity.com> wrote:
> >> 
> >> > As per if/unless itself, I really would like to explore
> >> more what some
> >> > people have suggested about having a richer language than just
> >> > set/unset.
> >> 
> >> PropertyHelper?
> >> 
> >> IOW, I think we already have the infrastructure needed to do
> >> that in Ant's core.
> > 
> > Yeap.
> > 
> > Still, do if/unless get property expanded (do not remember anymore).
> 
> No, you are correct.
> 

That may have to change, or at least the implementation of if/unless
needs to change to call some evaluator (PropertyHelper or whatever).

> > What nice syntaxes are out there for a PropertyHelper?
> 
> The sandbox contains implementations for JEXL and JXPath, for 
> example. A version that uses JavaScript, Jython, whatever via 
> BSF would be trivial.
> 
> > (does it has to become core?)
> 
> I don't think so.  It may become a separate distribution of 
> the Apache Ant project, if that helps.  I don't believe in 
> distributions that contain everything you may ever need.
> 

But if we tell people that in if/unless now you can put expressions
and then give no implementation in core... well that sounds funny
if not deceivng to say the least. ;-(

It seems to me the core must provide some basic stuff. Of course it
could be as small as just property expansion, which will allow
PropertyHelpers to be used. But really people will want more on the
basic package.

Jose Alberto

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


Mime
View raw message