The 'call' task was not executing as we expected. It was another task
after the one below that was executing and doing similar work as the one
that I was skipping. I solved the problem by specifying the 'getZDI'
property for both tasks. It now works the way that I expected it to.

-- Rodney

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Woodruff,
Rodney
Sent: Tuesday, November 08, 2005 3:51 PM
To: nant-users@lists.sourceforge.net
Subject: [Nant-users] Function call help

All,

I have the following lines in one of my targets:

<echo message="Trying to test for get zdi: ${bool::parse(getZDI)}"/>
<call target="get_zdi" if="${bool::parse(getZDI)}"/>

However, call task is always executed even if 'getZDI' is false. I know
it's false because of the echo line before it. Can someone tell me how
to make this work they way I think it should.

Thanks in advance.

-- Rodney
 
 
This e-mail message and any attachments to it are for the sole use of
the intended recipients and may contain confidential and privileged
information. This e-mail message and any attachments are the property of
Ziff Davis Media Inc. or its affiliates. Any unauthorized review, use,
disclosure, or distribution of this e-mail message or its attachments is
prohibited. If you are not an intended recipient, please notify the
sender by reply e-mail and destroy all copies of the original message
and any attachments. Thank you.


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server.
Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Nant-users mailing list
Nant-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users



-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Nant-users mailing list
Nant-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to