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
Paul Cowan wrote:
How can I pass external parameters into the NANT script??
NAnt can:
get properties on the command line
read an entire file into a property
loop over the lines of a file
include subordinate NAnt build files, which can contain property
definitions
get the value
Environment variables. I start the script using a batch file
that defined environment variables, which can come from the command line, and
the I initiate nant with the location of the nant script.
Bert
From: Paul Cowan
[mailto:[EMAIL PROTECTED]
Sent: Wednesday, August