Difference between NAnt Readonly and Overwrite
I'm assuming you're aware of NAnt basics (add a comment if you're not and I'll write up a detailed article). Intent ===================== Often, there is a confusion between overwrite and readonly attributes for a property in NAnt. The intent of this small post is just to clear concepts revolving this. readonly: Marking a property as readonly=true means, later it can not be changed during NAnt execution. If there is an attempt to do so, build doesn't fails, but displays a warning message. Default is false Remember : When you attempt to set a property value by passing it from command line, you'll always get a read only warning message if you are setting value of same property in your build file. This is so because, passing a value from command line supersedes any declaration of same property and is always readonly (Do not confuse yourself that why I'm getting warning message about readonly when I've set readonly="false". It is because by p...