Version 1.3 of the NAnt plugin has just been released. In addition to the functionality that was provided previously (adding multiple NAnt installations, specifying targets, specifying build file), the plugin now supports setting properties that will be passed to the NAnt build.
This new functionality works in much the same way that the Ant task does. When you add a task for executing a NAnt build, click the "Advanced" button to view the "Properties" text box. You can then enter the properties, one definition per line, in the standard Java properties format:
prop1=value1
prop2=value2
...
propN=valueN
The use of build parameters in the properties is also supported. For instance, if you defined a build parameter named "configuration", you could set a property for your NAnt build as follows:
build.config=$configuration
"$configuration" would simply be replaced with the value of that parameter
Version 1.3 of the NAnt plugin has just been released. In addition to the functionality that was provided previously (adding multiple NAnt installations, specifying targets, specifying build file), the plugin now supports setting properties that will be passed to the NAnt build.
This new functionality works in much the same way that the Ant task does. When you add a task for executing a NAnt build, click the "Advanced" button to view the "Properties" text box. You can then enter the properties, one definition per line, in the standard Java properties format:
prop1=value1
prop2=value2
...
propN=valueN
The use of build parameters in the properties is also supported. For instance, if you defined a build parameter named "configuration", you could set a property for your NAnt build as follows:
build.config=$configuration
"$configuration" would simply be replaced with the value of that parameter