|
<target name="myName" if="myprop="> and/or
<target name="myName" if="myprop=${aproperty}">
(iff aproperty is 'empty' (the empty string)) will throw an Exception, won't it?
(I don't applied this patch, just had a quick look at it and
+ String
value =
+ ProjectHelper.replaceProperties(condition.substring(pos+1), + project.getProperties()); seems not to work in the above conditions since
pos+1 should be invalid?
Maybe I'm completely wrong with this, it's quite
early in Germany (at least for for some people like me :-) )
Nico
|
- Re: [PATCH] Allow check for values on if/unless <... Nico Seessle
- Re: [PATCH] Allow check for values on if/unles... Stefan Bodewig
- RE: [PATCH] Allow check for values on if/unles... Jose Alberto Fernandez
- RE: [PATCH] Allow check for values on if/unles... Jose Alberto Fernandez
