Re: [NAnt-users] properties in functions

2009-04-08 Thread Steve Kapinos
: Wednesday, April 08, 2009 11:42 AM To: Steve Kapinos; Nathan Franzen; nant-users@lists.sourceforge.net Subject: RE: [NAnt-users] properties in functions Actually, in the original posting, version-info-script was a property that was initialised with the name of the file in question, rather than bei

Re: [NAnt-users] properties in functions

2009-04-08 Thread Chris Lambrou
ginal Message- From: Steve Kapinos [mailto:steve.kapi...@tandberg.com] Sent: 08 April 2009 14:46 To: Nathan Franzen; nant-users@lists.sourceforge.net Subject: Re: [NAnt-users] properties in functions Don't use ${ } inside an existing expression. You use it once to say this in an expression..

Re: [NAnt-users] properties in functions

2009-04-08 Thread Steve Kapinos
Don't use ${ } inside an existing expression. You use it once to say this in an expression.. from there Nant knows how to find the keywords, etc So instead of Use Assuming 'version-info-script' is the name of the file you are looking for. Strings put in ' ' , function names and prop

Re: [NAnt-users] properties in functions

2009-04-07 Thread Guy Metz
Your close, you don't need the ${} around the property name inside and expression.change: to: On Tue, Apr 7, 2009 at 2:26 PM, Nathan Franzen wrote: > I'm coming to NAnt from an ant background, but I'm trying to adapt. > The documentation for > > says that it's deprecated & recomm

Re: [NAnt-users] properties in functions

2009-04-07 Thread Nathan Franzen
OK, got it! Thanks everyone. -Nate On Tue, Apr 7, 2009 at 3:01 PM, Gert Driesen wrote: > Hi Nathan, > > In expressions, properties must be references without braces. > For example: > >     >         /> >     > > Hope this helps, > > Gert > > -Original Message- > From: Nathan Franzen [m

Re: [NAnt-users] properties in functions

2009-04-07 Thread Gert Driesen
Hi Nathan, In expressions, properties must be references without braces. For example: Hope this helps, Gert -Original Message- From: Nathan Franzen [mailto:nfran...@gmail.com] Sent: dinsdag 7 april 2009 20:26 To: nant-users@lists.sourceforge.net Subject: [NAnt-users

Re: [NAnt-users] properties in functions

2009-04-07 Thread Bob Archer
Once you are already in an expression you don't escape the properties again. Use this: BOb > -Original Message- > From: Nathan Franzen [mailto:nfran...@gmail.com] > Sent: Tuesday, April 07, 2009 2:26 PM > To: nant-users@lists.sourceforge.net > Subject: [NAnt-users] properties in

Re: [Nant-users] Properties Descriptions

2004-08-28 Thread Troy Laurin
Merrill Cornish wrote: Jim, How would this differ from using XML comments in the build files? Clumsiness, or lack thereof. XML comments are verbose and stand on a level with the elements they are supposed to be commenting on. Therefore, it's not always clear who they apply to. Personally, there's

RE: [Nant-users] Properties Descriptions

2004-08-27 Thread Richard Poole
Title: RE: [Nant-users] Properties Descriptions Merrill, /* ... */ and // ... style comments cannot be pinned to a language element any more than a style comment can. I think it is generally accepted that comments precede the thing that they describe. Having said that, I suppose the

RE: [Nant-users] Properties Descriptions

2004-08-27 Thread Ryan Cromwell
t; Reply-To: Merrill Cornish <[EMAIL PROTECTED]> To: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: RE: [Nant-users] Properties Descriptions Date: Fri, 27 Aug 2004 09:43:38 -0500 (GMT-05:00) Jim, >>> How would this differ from using XML comme

RE: [Nant-users] Properties Descriptions

2004-08-27 Thread jim.holmes
other issues unless this is a seriously low-hanging fruit fix. > -Original Message- > From: Merrill Cornish [mailto:[EMAIL PROTECTED] > Sent: Friday, August 27, 2004 10:44 AM > To: Holmes, Jim; [EMAIL PROTECTED]; [EMAIL PROTECTED]; > [EMAIL PROTECTED] > Subject: RE

RE: [Nant-users] Properties Descriptions

2004-08-27 Thread Merrill Cornish
Jim, >>> How would this differ from using XML comments in the build files? Clumsiness, or lack thereof. or versus XML comments are verbose and stand on a level with the elements they are supposed to be commenting on. Therefore, it's not always clear who they

RE: [Nant-users] Properties Descriptions

2004-08-27 Thread jim.holmes
2004 10:05 AM To: Gert Driesen; Shaber,David; [EMAIL PROTECTED] Subject: Re: [Nant-users] Properties Descriptions Gert, >>> [property descriptions] has never been supported by NAnt ... NAnt now reports >>> unknown elements and attributes. Perhaps NAnt could allow, but ig

Re: [Nant-users] Properties Descriptions

2004-08-27 Thread Merrill Cornish
Gert, >>> [property descriptions] has never been supported by NAnt ... NAnt now reports >>> unknown elements and attributes. Perhaps NAnt could allow, but ignore, a "comment" attribute on all tasks. Merrill --- SF.Net email is sponsored by

Re: [Nant-users] Properties Descriptions

2004-08-27 Thread Gert Driesen
David, This has never been supported by NAnt. What has changed in recent nightly builds, is that NAnt now reports unknown elements and attributes. Previous versions of NAnt did not have this capability. Gert - Original Message - From: "Shaber, David" <[EMAIL PROTECTED]> To: <[EMAIL PROT

Re: [Nant-users] Properties problem on task

2004-04-05 Thread Gert Driesen
MAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday, April 05, 2004 10:48 AM Subject: RE: [Nant-users] Properties problem on task Great, Thanks Gert. At the risk of seeming overly cautious, could I ask how stable the nightly builds are? Am I safe to use them as the basis of building our soft

RE: [Nant-users] Properties problem on task

2004-04-05 Thread Bill.Martin
[mailto:[EMAIL PROTECTED] Sent: 05 April 2004 09:40 To: Bill Martin; [EMAIL PROTECTED] Subject:Re: [Nant-users] Properties problem on task Bill, This was actually a bug in the nant task. The properties you specified as nested elements, were evaluated in the context of the new

Re: [Nant-users] Properties problem on task

2004-04-05 Thread Gert Driesen
Bill, This was actually a bug in the nant task. The properties you specified as nested elements, were evaluated in the context of the new project. I changed this to evaluate the properties in the current build file, when the property is not dynamic. This fix has been committed to cvs and will b

RE: [Nant-users] Properties problem on task

2004-04-05 Thread Peter McEvoy
Do you need to set readonly="true" on the properties you are passing in? > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > Sent: 05 April 2004 07:58 > To: [EMAIL PROTECTED] > Subject: [Nant-users] Properties problem on task > > > Hi, > > I have a bit of a p

RE: [Nant-users] Properties files

2004-03-19 Thread Bonnett, Evan A
Title: RE: [Nant-users] Properties files All, Quick question... I am getting this exception when checking out code to label in VSS.  I have come to the conclusion that when checking out via the , it will not overwrite and will fail if the files already exist.  Is this accurate? So, if

RE: [Nant-users] Properties files

2004-03-19 Thread Bill.Martin
Marvellous, that will do the job nicely thanks Jarek. Cheers, Bill -Original Message- From: Jaroslaw Kowalski [mailto:[EMAIL PROTECTED] Sent: 19 March 2004 15:38 To: Bill Martin; [EMAIL PROTECTED] Subject:Re: [Nant-users] Properties files It is possible through task

Re: [Nant-users] Properties files

2004-03-19 Thread Jaroslaw Kowalski
It is possible through task. You simply have all your properties in a separate buildfile: properties.build And you use it like this: main.build: Hope it helps. Jarek - Original Message - From: <[

Re: [Nant-users] Properties problem with the schema task

2003-10-25 Thread Scott Hernandez
Ben, The current version of the NAntSchema task is not terribly useable. There are some serious issues with how it deals with collections (which are relatively new to NAnt and used a lot now) and arrays. I'm pretty sure this is the existing problem. I am working on some new util classes that shoul

Re: [Nant-users] Properties problem with the schema task

2003-10-23 Thread Gert Driesen
I assume this has something to do with the fact that we also use the property task as an element in the task to allow a user to set specific properties in the newly create NAnt project (while still reusing the code in PropertyTask). Scott, can you verify this ? Gert - Original Message -

RE: [Nant-users] Properties

2003-02-17 Thread Dave Lloyd
PROTECTED] Subject: Re: [Nant-users] Properties   I think what you want is this:                     -->       cause build files evaluate "global tasks" (any non-target task at th

Re: [Nant-users] Properties

2003-02-13 Thread Scott Hernandez
                      Note: 1-4 are "global tasks" 1.) prop debug true 2.) prop debug false 3.) prop debug haha 4.) prop debug hehee 5.) target first - Original Message - From: Dave Lloyd To: 'Miller, Kevin' ; [EMAIL PROTECTED] ; [EMAIL PROTECTED]

RE: [Nant-users] Properties

2003-02-13 Thread Dave Lloyd
ller, Kevin [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 13, 2003 6:36 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: [Nant-users] Properties   Once you set a property I believe it is scoped to the entire project meaning it is visible everywhere. You can update it later on

RE: [Nant-users] Properties

2003-02-13 Thread Miller, Kevin
Once you set a property I believe it is scoped to the entire project meaning it is visible everywhere. You can update it later on in your script, no problem.   Note, If you set a property via the commandline inputs those properties are ReadOnly and cannot be changed. You can try to update R