My build files are structured like so:
\build\scripts\nightly.build basedir="."
\build\scripts\project1.build basedir="../.."
It seems as if project1.build is ending up with the wrong current directory.
It may be related to this change (ianm, NAntTask.cs):
+ try {
+ // change current directory to directory of the build file that
+ // will be run
+ Directory.SetCurrentDirectory(Path.GetDirectoryName(
+ Project.GetFullPath(BuildFileName)));
+ // run the given build
+ if (!project.Run()) {
+ throw new BuildException("Nested build failed. Refer to build log for exact reason.");
+ }
+ } finally {
Can anyone confirm this?
This is my regression test investigation:
Nov 19. - works Nov 27. - works Nov 28. - works (some checkin) Dec 2. - failure Dec 9. - failure
Matt.
------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers
