You could do something like:

 

nant -buildfile:InitialReportsWeb.build "-D:branch=4873" "-D:build.label=4873_06_1.01.003" "-D:build.version=9.99.001" "-D:config=Debud " "-D:test.env=DevInt"

 

Each of the properties being defined within the .build file. The “-D:” passed at command line tells NAnt it’s a parameter. Then just use the name/value pair…property name = value.

 

~Robert

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Cowan
Sent: Wednesday, August 31, 2005 10:43 AM
To: Nant-users@lists.sourceforge.net
Subject: [Nant-users] External Parameters

 

How can I pass external parameters into the NANT script??


Thanks


Paul


_____________________________________________________________________
VirusChecked for Huntsworth plc
_____________________________________________________________________

Reply via email to