RE: [Nant-users] can't overwrite property

2004-09-23 Thread Felice Vittoria
Actually, this is not a bug.   It's working as designed.  Here's the URL to the property help page: http://nant.sourceforge.net/nightly/help/tasks/property.html   What you need to do is set overwrite="false" and it should work.   Felice -Original Message-From: [EMAIL PROTECTED]

Re: [Nant-users] can't overwrite property

2004-09-23 Thread Gert Driesen
- Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, September 22, 2004 11:23 PM Subject: [Nant-users] can't overwrite property Hi there, why can't properties be overwritten? my code: or run: nant -D:path=c:\temp Nant says:

[Nant-users] can't overwrite property

2004-09-23 Thread peters
Hi there, why can't properties be overwritten? my code: or run:  nant -D:path=c:\temp Nant says: readonly property path can't be overwritten. is it a bug in 0.85.1724 (09-20 build)? thx

Re: [Nant-users] Can't overwrite property when readonly not set

2004-09-13 Thread Ian MacLean
Gert Driesen wrote: - Original Message - From: "Gary Feldman" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, September 13, 2004 5:53 PM Subject: Re: [Nant-users] Can't overwrite property when readonly not set Although a node with nested element wou

Re: [Nant-users] Can't overwrite property when readonly not set

2004-09-13 Thread Gert Driesen
- Original Message - From: "Gary Feldman" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, September 13, 2004 5:53 PM Subject: Re: [Nant-users] Can't overwrite property when readonly not set >From: "Ian MacLean" <[EMAIL PROTECTED]&

Re: [Nant-users] Can't overwrite property when readonly not set

2004-09-13 Thread Gary Feldman
>From: "Ian MacLean" <[EMAIL PROTECTED]> >Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> > This issue keeps coming back. Yeah I know 'its documented' but its > causing and will continue to cause grief for new users. I made the > [1] proposal earlier but thats probably still a way off. What I don't

Re: [Nant-users] Can't overwrite property when readonly not set

2004-09-13 Thread Ian MacLean
Gert Driesen wrote: - Original Message - From: "Ian MacLean" <[EMAIL PROTECTED]> To: "Gert Driesen" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday, September 13, 2004 7:50 AM Subject: Re: [Nant-users] Can't

Re: [Nant-users] Can't overwrite property when readonly not set

2004-09-12 Thread Gert Driesen
- Original Message - From: "Ian MacLean" <[EMAIL PROTECTED]> To: "Gert Driesen" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday, September 13, 2004 7:50 AM Subject: Re: [Nant-users] Can't overwrite property

Re: [Nant-users] Can't overwrite property when readonly not set

2004-09-12 Thread Ian MacLean
ks/property.html for an example on how to provide a default value for a property and still allow it to be overridden on the command line. Hope this helps, Gert - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, September 10, 2004 7:52 PM Subje

Re: [Nant-users] Can't overwrite property when readonly not set

2004-09-12 Thread Gert Driesen
allow it to be overridden on the command line. Hope this helps, Gert - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, September 10, 2004 7:52 PM Subject: [Nant-users] Can't overwrite property when readonly not set I get the followin

[Nant-users] Can't overwrite property when readonly not set

2004-09-12 Thread despley
I get the following error Read-only property "" cannot be overwritten. BUT readonly is not set??? Is this a known defect in nant-0.85-20040904 Regards Dave The information in this e-mail, and any attachment therei

Re: Property change-suggestions, was RE: [Nant-users] can't overwrite property

2004-08-19 Thread Gary Feldman
>From: "Ian MacLean" <[EMAIL PROTECTED]> >Sent: Friday, August 13, 2004 12:27 AM > Gary Feldman wrote: > >>From: "Ian MacLean" <[EMAIL PROTECTED]> > >>Sent: Thursday, August 12, 2004 6:40 AM > >> ... > sorry - I don't buy it. Is > > name=value really that much simpler than: > > The former is th

RE: Property change-suggestions, was RE: [Nant-users] can't overwrite property

2004-08-12 Thread Troy Laurin
Gary Feldman wrote: > >From: "Ian MacLean" <[EMAIL PROTECTED]> > >Sent: Thursday, August 12, 2004 6:40 AM > > > > Actually I don't see how adding property files is any > > different from > > using the task to import properties. And I don't > > see how it > > There are a number of ways that th

Re: Property change-suggestions, was RE: [Nant-users] can't overwrite property

2004-08-12 Thread Ian MacLean
Gary Feldman wrote: From: "Ian MacLean" <[EMAIL PROTECTED]> Sent: Thursday, August 12, 2004 6:40 AM Actually I don't see how adding property files is any different from using the task to import properties. And I don't see how it There are a number of ways that the property mechanism in A

Re: Property change-suggestions, was RE: [Nant-users] can't overwrite property

2004-08-12 Thread Gary Feldman
>From: "Ian MacLean" <[EMAIL PROTECTED]> >Sent: Thursday, August 12, 2004 6:40 AM > Actually I don't see how adding property files is any different from > using the task to import properties. And I don't see how it There are a number of ways that the property mechanism in Ant is different from N

RE: Property change-suggestions, was RE: [Nant-users] can't overwrite property

2004-08-12 Thread Ryan Cromwell
scope would be cause for many random, confusing results rather than hard errors which can be hunted down with ease. Original Message Follows From: "Troy Laurin" <[EMAIL PROTECTED]> To: "Nant-Users (E-mail)" <[EMAIL PROTECTED]> Subject: Property change-su

Re: Property change-suggestions, was RE: [Nant-users] can't overwrite property

2004-08-12 Thread Ian MacLean
I quite like the idea of paramaters. It would solve the current issues with distinguishing properties defined in the build file from those passed on the command line as well as add additionaly niceness to targets. Return values from targets I'm not so sure about. I tend to agree with Troy that

Re: Property change-suggestions, was RE: [Nant-users] can't overwrite property

2004-08-12 Thread Ian MacLean
ttoria wrote: I like Gary's idea. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Gary Feldman Sent: Wednesday, August 11, 2004 3:11 PM To: Nant-Users (E-mail) Subject: Re: Property change-suggestions, was RE: [Nant-users] can't overwrite prope

RE: Property change-suggestions, was RE: [Nant-users] can't overwrite property

2004-08-11 Thread Troy Laurin
Gary McCullough wrote: > OK, here's my idea NAnt world: My thoughts on these... > Scopable properties > Parameter variables I'm all over the idea of parameters, it would render utility targets that are currently property driven much safer, and largely self-documenting as well - especially if do

RE: Property change-suggestions, was RE: [Nant-users] can't overwrite property

2004-08-11 Thread jim.holmes
> Let me throw out a different idea. Why not add propertyfiles, akin > to the way they're done in Ant? It's a different approach, but it > solves many of the same problems. I may have missed something earlier in this discussion, but property files are already supported using the task. I use a

RE: Property change-suggestions, was RE: [Nant-users] can't overwrite property

2004-08-11 Thread Felice Vittoria
I like Gary's idea. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Gary Feldman Sent: Wednesday, August 11, 2004 3:11 PM To: Nant-Users (E-mail) Subject: Re: Property change-suggestions, was RE: [Nant-users] can't overwrite property >From

Re: Property change-suggestions, was RE: [Nant-users] can't overwrite property

2004-08-11 Thread Gary Feldman
>From: "McCullough, Gary" <[EMAIL PROTECTED]> >Sent: Wednesday, August 11, 2004 9:30 AM >OK, here's my idea NAnt world: > >Scopable properties >Parameter variables >Return values Let me throw out a different idea. Why not add propertyfiles, akin to the way they're done in Ant? It's a different

RE: Property change-suggestions, was RE: [Nant-users] can't overwrite property

2004-08-11 Thread McCullough, Gary
McCullough -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Troy Laurin Sent: Tuesday, August 10, 2004 11:10 PM To: Nant-Users (E-mail) Subject: Property change-suggestions, was RE: [Nant-users] can't overwrite property I'm sure people are sick of ge

Property change-suggestions, was RE: [Nant-users] can't overwrite property

2004-08-10 Thread Troy Laurin
I'm sure people are sick of getting a slough of mails from me, so I'll combine these ones :-) Richard Poole wrote: > I'm relatively new to NAnt so please forgive me if this is a rubbish/old idea. :) > > --- C# snippet --- > > public void MyFunction() > { > int a = 2; // const or not

RE: [Nant-users] can't overwrite property

2004-08-10 Thread Troy Laurin
> My reading is that Merrill is saying that the script cannot > override the command line, but that Ian misinterpreted this > the other way around, i.e. he thought it means that the > commandline cannot override the script. > > If my reading is correct, then much of the subsequent > discussi

Re: [Nant-users] can't overwrite property

2004-08-10 Thread Felice Vittoria
Thanks. I hope to remember this :) 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 Fre

Re: [Nant-users] can't overwrite property

2004-08-10 Thread Merrill Cornish
>>> You cannot unmark a property as being readonly In other words, readonly is a Very Sticky bit. :-) Merrill --- 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

Re: [Nant-users] can't overwrite property

2004-08-10 Thread Gert Driesen
ECTED]> Sent: Tuesday, August 10, 2004 2:30 PM Subject: Re: [Nant-users] can't overwrite property Well .. I modified my property statement to this: When I run: nant /f:test.build -D:junk="Development" or nant /f:test.build -D:junk=Development I get this: Read-only propert

Re: [Nant-users] can't overwrite property

2004-08-10 Thread Gary Feldman
>From: "Ian MacLean" <[EMAIL PROTECTED]> >Sent: Monday, August 09, 2004 9:41 PM Either I'm confused, or this entire discussion is based upon a misinterpretation: > Merrill Cornish wrote: > > > Felice, > > > > In the new, improved NAnt, properties now have the option of a > > readonly attirbute.

RE: [Nant-users] can't overwrite property

2004-08-10 Thread McCullough, Gary
_ Gary McCullough -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gert Driesen Sent: Tuesday, August 10, 2004 2:26 AM To: Troy Laurin; Ian MacLean Cc: Nant-Users (E-mail) Subject: Re: [Nant-users] can't overwrite property The easiest, an

Re: [Nant-users] can't overwrite property

2004-08-10 Thread Felice Vittoria
Well .. I modified my property statement to this: When I run: nant /f:test.build -D:junk="Development" or nant /f:test.build -D:junk=Development I get this: Read-only property "junk" cannot be overwritten. I would expect that I can overwrite the property if I set readonly to false and over

Re: [Nant-users] can't overwrite property

2004-08-09 Thread Gert Driesen
ne). Gert - Original Message - From: "Troy Laurin" <[EMAIL PROTECTED]> To: "Ian MacLean" <[EMAIL PROTECTED]> Cc: "Nant-Users (E-mail)" <[EMAIL PROTECTED]> Sent: Tuesday, August 10, 2004 7:27 AM Subject: RE: [Nant-users] can't overw

RE: [Nant-users] can't overwrite property

2004-08-09 Thread Troy Laurin
Ian Maclean wrote: > >The previous behaviour of silently ignoring the property task if the > >property is read-only certainly isn't optimal, either. Silently > >ignoring tasks can make some bugs hard to trace. > > > > > No quite silently - a message was added to the log - but I > take your p

Re: [Nant-users] can't overwrite property

2004-08-09 Thread Ian MacLean
Troy Laurin wrote: Ian MacLean wrote: Merrill Cornish wrote: Felice, In the new, improved NAnt, properties now have the option of a readonly attirbute. Furthermore, any property set because it appeared in a -D:property=value item on the script command line will automaticall

RE: [Nant-users] can't overwrite property

2004-08-09 Thread Troy Laurin
Ian MacLean wrote: > > Merrill Cornish wrote: > > > Felice, > > > > In the new, improved NAnt, properties now have the option of a > > readonly attirbute. Furthermore, any property set because > it appeared > > in a -D:property=value item on the script command line will > > automatically be

Re: [Nant-users] can't overwrite property

2004-08-09 Thread Ian MacLean
Merrill Cornish wrote: Felice, In the new, improved NAnt, properties now have the option of a readonly attirbute. Furthermore, any property set because it appeared in a -D:property=value item on the script command line will automatically be readonly. So, you can't change in the script the val

Re: [Nant-users] can't overwrite property

2004-08-09 Thread Merrill Cornish
Felice, In the new, improved NAnt, properties now have the option of a readonly attirbute. Furthermore, any property set because it appeared in a -D:property=value item on the script command line will automatically be readonly. So, you can't change in the script the value of a property passed

[Nant-users] can't overwrite property

2004-08-09 Thread Felice Vittoria
Hello all, I'm using this version of Nant 0.85: NAnt 0.85 (Build 0.85.1682.0; net-1.0.win32; nightly; 8/9/2004) I have this test.build file: When I run: nant