Hi Paul,

-> How can I say, if a directory does not exist then create it.

Help is your friend:

http://nant.sourceforge.net/release/latest/help/tasks/mkdir.html
http://nant.sourceforge.net/release/latest/help/functions/directory.exists.html

e.g.

<property name="somedir" value="C:\path\to\somedir" />
<mkdir dir="${somedir}" unless="${directory::exists(somedir)}" />

peace
si


-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
_______________________________________________
Nant-users mailing list
Nant-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to