<if unless="XX"/> regression in 0.92

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

<if unless="XX"/> regression in 0.92

Leszek Ciesielski
Hi everyone,

it seems that the <if> task has regressed, throwing an exception when
only 'unless' condition is defined on it. It's simple to workaround
(just use test="${not (unlessCondition)}" instead ), but annoying none
the less. What's more, the task parsing exception thrown does not
contain any line/location information (it's cut off after "at :"). Is
this a known issue?

Kind regards,

Leszek 'skolima' Ciesielski

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
nant-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/nant-developers
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: <if unless="XX"/> regression in 0.92

Ryan Boggs-2
Hi Leszek,

To my knowledge, this is not a known issue.  Would you mind reporting
it in NAnt's issues list please?  I don't want this issue getting lost
in my email.

https://github.com/nant/nant/issues

Thanks,
Ryan

On Wed, Jun 27, 2012 at 9:51 AM, Leszek Ciesielski <[hidden email]> wrote:

> Hi everyone,
>
> it seems that the <if> task has regressed, throwing an exception when
> only 'unless' condition is defined on it. It's simple to workaround
> (just use test="${not (unlessCondition)}" instead ), but annoying none
> the less. What's more, the task parsing exception thrown does not
> contain any line/location information (it's cut off after "at :"). Is
> this a known issue?
>
> Kind regards,
>
> Leszek 'skolima' Ciesielski
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> nant-developers mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/nant-developers

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
nant-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/nant-developers
Loading...