Hi all,

it seems there is a problem with the <call> task:

<call
    target="myTarget"
    unless="${file::exists('myDirectory/myFile.cs')}" />

In the example above, "myTarget" should be invoked if and
only if the file "myDirectory/myFile.cs" does not exist...
but it is not the case. To get the desired behavior, I
have to modify the task as following:

<call
    target="myTarget"
    if="${file::exists('myDirectory/myFile.cs')}" />

... but in this case, "myTarget" should be executed if and
only if "myDirectory/myFile.cs" does exist...

j3d.

----------------------------------------
Giuseppe Greco

::agamura::

phone:  +41 (0)91 604 67 65
mobile: +41 (0)76 390 60 32
email:  [EMAIL PROTECTED]
web:    www.agamura.com
----------------------------------------


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to