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 From: Robert Smith
[mailto:[EMAIL PROTECTED] 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:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Brad Eck 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 |
- RE: [Nant-users] Setting a proprrty from the command line Brad Eck