Sometimes it is helpful to get at how you get the full path name of the included nant file.
In Apache ant you would read the property ant.file giving just this information.
In nant the function project::get-buildfile-path returns path to the original build file, but not the path to the included buildfile.
A workaround is explained in http://thiasg.wordpress.com/2011/02/11/nant-and-the-aquivalent-to-ant-file-of-ant/
It works, if the included buildfile is in another directory then the original buildfile.
Log in to post a comment.