Hi Stephan The only place I know where you can change directory is basedir attribute of <project> element. Something like this
<project name="IPM" default="build" basedir=".\.."> here I am just moving one notch up the hierrarchy tree. So for your project two build files yes you will need to set different values for these 2 basedir's. Hope this helps. -daya -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Boome, Stephan Sent: Thursday, August 28, 2003 7:53 AM To: NAnt-Users (E-mail) Subject: [Nant-users] SubProject Build Hi All, As you can see I have two build files, I NAnt from the ProjectA\Software directory then my solution builds, but if I run my TopLevel.build in the C:\Development directory it complains that it can not find C:\Development\ProjectA.sln, when it should be loading C:\Development\ProjectA\Software\ProjectA.sln. I would like to be able to run NAnt on both of my build files. I think I need to change the current directory for each of my sub projects, but I can not find out how to do this. Thanks Stephan C:\Development\TopLevel.build <?xml version="1.0"?> <project name="TopLevel" default="build" > <nant buildfile="ProjectA/Software/ProjectA.build" target="build" /> </project> C:\Development\ProjectA\Software\ProjectA.build <?xml version="1.0"?> <project name="ProjectA" default="build"> <target name="build" > <solution solutionfile="ProjectA.sln" configuration="release" /> </target> </project> ******************************************************************** This email and any attachments are confidential to the intended recipient and may also be privileged. If you are not the intended recipient please delete it from your system and notify the sender. You should not copy it or use it for any purpose nor disclose or distribute its contents to any other person. ******************************************************************** ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users