I was just doing the simple types of tests. I didn't want to make it too
complicated.
A nice expression language would be cool. Something like a JavaScript
expression evaluator would make things pretty simple. Then you could do
something like
<if test="'${val}' == 'value'"/>
<if test="${intval} > 4"/>
Is this general functionality something that is needed?
I wonder if build files should get this complicated. I'm very wary of
suggesting script be put in a build file. I would much rather see a
specialized task built. Hey, I'm not saying we should build specialized
tasks for everything, just to watch out for putting script/code into the
build file. There is a line there, but it is a when in comes up kinda
call.
I need to commit a few changes. :) I'll email when this is in.
> -----Original Message-----
> From: Kevin Dente [mailto:[EMAIL PROTECTED]]
> Subject: RE: [nant-dev] Calling a target if it exists
>
> Ooh, sounds like a very useful task.
>
> Will it support comparing a property to a specific
> value? You know, the "if propertyvalue = blah" kind of
> check.
>
> "if" is a good name. I like "if". What could be more
> clear?
-------------------------------------------------------
Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
_______________________________________________
Nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers