From: Brad E. <bra...@si...> - 2005-08-31 21:58:07
|
Thanks Robert. That makes sense (though it's kind of reverse thought). Anyway, the additional thing that seems to be happening in relation to this is that the default property (not the new one passed in) seems to get passed on to subsequent nant calls in my script. So I have 15-20 scripts all referenced by a master (in which 'release' is the default 'config'. If I pass in config=debug the script will run in debug, but passes 'nant ,target> release' on to the remaining nant files. Is this normal? Brad Eck SitesDynamic <http://www.sitesdynamic.com/> _____ From: Robert Smith [mailto:Robert.Smith@NWEA.org] Sent: Tuesday, August 30, 2005 4:20 PM To: Brad Eck Subject: RE: [Nant-users] Setting a proprty from the command line Whenever properties are set from the command line they become read only and cannot be manipulated within the build script. I think it's more of a warning than an error. ~Robert _____ From: nan...@li... [mailto:nan...@li...] On Behalf Of Brad Eck Sent: Tuesday, August 30, 2005 4:16 PM To: nan...@li... Subject: [Nant-users] Setting a proprty from the command line I am using -D:config=debug where config is a property in my build script. On run (yes, I have tried setting readonly to true and overwrite to true) I get a message stating that it cannot set the property as it is read only - but if I echo it the result is set. Why the error? Brad Eck SitesDynamic <http://www.sitesdynamic.com/> |