Bouncing ideas here to hopefully save some time. I want to do a conditional check before executing a task in my nant script. But the condition can not be done from nant functions/tasks so I have a vbs script that does the check. In my previous work, it was easy to kill the script with an error number from the vbs script. But here, I don't want to kill the nant script, I just want to pass a true/false back up to nant to let me make my conditional check with.
What's the simplest way to pass knowledge like this back to the nant script? Assuming the task is executed by the <exec> task Is using the failonerror="false", using the error result codes from the script and resultproperty the cleanest way? Steve ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users