Reputation: 67223
In NANT,if I write a path, how could I , instead of writing "c:\documents and settings" etc, reference the containing folder of the nant script?
Thanks
Upvotes: 2
Views: 331
Reputation: 10582
You can get the current directory of the nant script by calling the project::get-base-directory()
function.
You can also get the current directory by calling the directory::get-current-directory function()
function.
directory::get-current-directory
Upvotes: 2