Hi all, My be I'm wrong... but I think there is an issue with the <if> and <ifnot> task.
Look at the following task: <ifnot uptodatefile="myImage.png" comparefile="myImage.xcf" <exec program="xcftoall" commandline="--png myImage.xcf myImage.png"/> </ifnot> If I've understood the documentation right, the task above executes the <exec> task if and only if myImage.png is older than myImage.xcf, right? But this is not the case. To regenerate myImage.png after myImage.xcf has been modified, I've to rewrite the task above like this: <ifnot uptodatefile="myImage.xcf" comparefile="myImage.png" <exec program="xcftoall" commandline="--png myImage.xcf myImage.png"/> </ifnot> I checked out NAnt from CVS last Saturday, so it should be new enough... Any idea? Gius_ ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps _______________________________________________ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers