ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Vernum <Tim.Ver...@macquarie.com.au>
Subject RE: Quick question about creating nested elements
Date Wed, 14 Feb 2001 04:38:39 GMT
Ummm... yeah.
OK, now with the attachment.

> -----Original Message-----
> From: Tim Vernum [mailto:Tim.Vernum@macquarie.com.au]
> Sent: Wednesday, 14 February 2001 3:31 PM
> To: 'ANT-dev'
> Subject: RE: Quick question about creating nested elements
> 
> 
> > This is actually what I have been working on.  This sort of 
> > relates to my
> > second question.  I basically wanted to integrate scripting to allow
> > conditional execution of targets.  I was using the 'if' and 'unless'
> > attributes of target, but they will only evaluate to 'true' 
> > if the property
> > is set, where I wanted them to evaluate to a boolean expression.
> 
> In light of the above and similar comments, I went and hacked 
> together a "equal" task which compares two strings, and sets 
> a property if they're equal.
> Not exactly full boolean support, but a start.
> An Expression task would be interesting, but more work than I 
> have to put in right now.
> 
> The attached file is a proto-type on a "equal" task, and a 
> sample build file.
> It's not read to be commited or anything, but I thought I'd 
> see if anyone thought it was useful before I put any more 
> work into it.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ant-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: ant-dev-help@jakarta.apache.org
> 


Mime
View raw message