ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Todd <>
Subject shell like property values ...
Date Wed, 04 Jun 2003 15:51:55 GMT

has the addition of unix shell pattern expansion been considered.

specifically, adding things like the following to the ${...} property


        returns the value of foo or empty string if not set (vs the 
literal ${foo})


       returns bar iff foo is unset


       sets foo to bar iff foo isunset, and returns the value of foo


       echo error message in the event foo is unset


       opposite of ":-"

    there are more ...

i'd think the above would ease the process one goes through to check
for property defaults, etc. this should be easily implementable given it
is, for the most part, string maninpulation and logical conditionals 
to the ${...} syntax.


- james

View raw message