Felice,
Yes, its a typo ... The output is ofcourse "[echo] debug: false" ...
Gert
----- Original Message ----- From: "Felice Vittoria" <[EMAIL PROTECTED]>
To: "Gert Driesen" <[EMAIL PROTECTED]>; "Nant-Users (E-mail)" <[EMAIL PROTECTED]>
Sent: Friday, August 20, 2004 2:15 PM
Subject: RE: [Nant-users] update to http://nant.sourceforge.net/nightly/help/fundamentals/buildfiles.html needed
Gert,
Thanks. I need to make a correction to your example note. Your example shows:
<project name="property-example"> <property name="debug" value="true" overwrite="false" /> <echo message="debug: ${debug}" /> </project>
And you say that if you execute this build file with the command line option -D:debug=false that it would cause the output to be:
[echo] debug: true
I tried this out with the following build: NAnt 0.85 (Build 0.85.1693.0; net-1.0.win32; nightly; 8/20/2004)
And this is not the case, my output is:
[echo] debug: false
Felice
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Gert Driesen Sent: Friday, August 20, 2004 4:32 AM To: Felice Vittoria; Nant-Users (E-mail) Subject: Re: [Nant-users] update to http://nant.sourceforge.net/nightly/help/fundamentals/buildfiles.html needed
Felice,
This is now fixed in cvs. I also added a example to the <property> task for this.
Gert
PS. You should use the overwrite attribute of the property task for this ...
----- Original Message ----- From: "Felice Vittoria" <[EMAIL PROTECTED]>
To: "Nant-Users (E-mail)" <[EMAIL PROTECTED]>
Sent: Thursday, August 19, 2004 11:52 PM
Subject: [Nant-users] update to
http://nant.sourceforge.net/nightly/help/fundamentals/buildfiles.html needed
Hello,
I was taking a look at http://nant.sourceforge.net/nightly/help/fundamentals/buildfiles.html and noticed that it needs to be updated to reflect the new property changes, as noted in the Release Note's Breaking Changes. The changes that I'm referring to is this. The change that I'm referring to is this section: nant -D:debug=false Runs NAnt and builds the project in non-debug mode. Even though the build file sets the debug property to true, properties set on the command line override any properties set in the build file. I'm not sure how this needs to change, but I do know this needs to be changed because if you run this, it will result in an error. Thanks, Felice
------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users
------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users
------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users