Hi What you have described is what I want but I want to pass the targets that were specified on the Command Line on the build file,
so I did NAnt -f:buildall.build clean Deploy then it would look like this <nant buildfile=... target="clean Deploy" .../> if I did NAnt -f:buildall.build release Build then the task would look like this <nant buildfile=... target="release Build" .../> however I would like to do something like this <nant buildfile=... target="COMMAND LINE TARGETS" .../> Cheers -----Original Message----- From: Nicklas Norling [mailto:[EMAIL PROTECTED] Sent: 27 November 2003 09:40 To: NAnt-Users (E-mail) Subject: RE: [Nant-users] comnand line targets *** WARNING *** This mail has originated outside your organization, either from an external partner or the Global Internet. Keep this in mind if you answer this message. Hi. The <nant> task supports passing more then one target. Would <nant buildfile=.... target="clean Deploy" ... /> work? Or did I missunderstand your question? You can also set properties and look at them later in the targets. The documentation shows greate examples on this. /Nicke > -----Original Message----- > From: Boome, Stephan [mailto:[EMAIL PROTECTED] > Sent: den 27 november 2003 09:21 > To: NAnt-Users (E-mail) > Subject: [Nant-users] comnand line targets > /f:buildAll.build clean Deploy > > How can I configure my top level build file to call "clean > Deploy" on my low level projects, here is an example of my > top level build file <project name="BuildAll" default="build"> > <nant buildfile="Component1\Component1.build" > target="build" inheritall="true" /> > <nant buildfile="Component2\Component2.build" > target="build" inheritall="true" /> </project> ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users ******************************************************************** 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: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users