I got confused with this behavior. But figured out my mistake when googled
for some examples

On Feb 2, 2008 8:45 PM, Dean Schulze <[EMAIL PROTECTED]> wrote:

>
> I filed this bug regarding the use of the if and unless attributes of
> <target>:
>
> http://issues.apache.org/bugzilla/show_bug.cgi?id=44315
>
> Matt Benson pointed out that the problem is that you don't use the ${}
> notation when naming a property in an if or unless attribute.  This is
> confusing because everywhere else in Ant when you reference a property you
> use the ${} notation.
>
> The documentation for Targets doesn't mention this:
>
> http://ant.apache.org/manual/using.html#targets
>
> The fact that you don't use ${} notation for the if / unless attributes
> needs be made explicit in the documentation.
>
> Are there any other places where you use a property without using the ${}
> notation?  If so these also need to be made explicit.  If the if / unless
> attributes are the only place where this applies that should also be noted
> in the documentation for if / unless.
>
> Thanks.
>
> Dean
>
>
>
> ---------------------------------
> Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  Try it
> now.
>



-- 
Thank you
Ramu S

 If A is success in life, then A equals x plus y plus z. Work is x; y is
play; and z is keeping your mouth shut.
- Albert Einstein

Reply via email to