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
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can get the current directory of the nant script by calling the
project::get-base-directory()function.project::get-base-directory
You can also get the current directory by calling the
directory::get-current-directory function()function.directory::get-current-directory