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
09 2:26 PM To: nant-users@lists.sourceforge.net Subject: [NAnt-users] properties in functions I'm coming to NAnt from an ant background, but I'm trying to adapt. The documentation for says that it's deprecated & recommends using functions instead. I prefer to parameterize as much as p

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
-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] properties in functions > > I'm coming to NAnt from an ant background, but I'm trying to adapt. >

Re: [NAnt-users] properties in functions

2009-04-07 Thread Gert Driesen
-users] properties in functions I'm coming to NAnt from an ant background, but I'm trying to adapt. The documentation for says that it's deprecated & recommends using functions instead. I prefer to parameterize as much as possible, so I wrote NAnt doe

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: [NA

[NAnt-users] properties in functions

2009-04-07 Thread Nathan Franzen
I'm coming to NAnt from an ant background, but I'm trying to adapt. The documentation for says that it's deprecated & recommends using functions instead. I prefer to parameterize as much as possible, so I wrote NAnt doesn't like this much: Unexpected token 'Dollar'.

[NAnt-users] Properties and pass by reference

2008-02-05 Thread tkaszuba
Some time ago NAnt it was possible to pass properties by reference between different NAnt scripts. I can see that this has now changed to be pass by value which has broken a lot of my scripts. The only way I can get around this functionality is to use environment variables which is very very a

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
> To: <[EMAIL PROTECTED]> Sent: Thursday, August 26, 2004 5:36 PM Subject: [Nant-users] Properties Descriptions Hello, I am looking at converting my build files from .84 to .85 when the new version releases. I was experimenting with a recent version of the nightly code and noticed that pr

[Nant-users] Properties Descriptions

2004-08-26 Thread Shaber, David
Hello,   I am looking at converting my build files from .84 to .85 when the new version releases. I was experimenting with a recent version of the nightly code and noticed that properties can no longer have descriptions.   This worked on .84 and I was wondering if this can be added bac

[Nant-users] properties?

2004-04-29 Thread Merrill Cornish
I'm running NAnt 0.84. The documentation for the target is strange. It lists no input file to be compiled property either optional or required. But, it does list a required output property. There is a fileset nested element, which implies that one target can be used to compile a while set

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
be available in the next nightly build. Gert - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, April 05, 2004 9:57 AM Subject: [Nant-users] Properties problem on task Hi, I have a bit of a problem with the task and can't see what&#x

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 >

[Nant-users] Properties problem on task

2004-04-05 Thread Bill.Martin
Hi, I have a bit of a problem with the task and can't see what's wrong. Below is a copy of my build script and the associated output. According to the documentation, I should be able to use a property value in my current project to pass through top a new NAnt instance, but it seems to be failing

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
: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, March 19, 2004 4:16 PM Subject: [Nant-users] Properties files > Hello folks, > > I am new to Nant, but have done a bit in Ant compiling Java solutions. My > question is, is there any equivalent to the task that &

[Nant-users] Properties files

2004-03-19 Thread Bill.Martin
Hello folks, I am new to Nant, but have done a bit in Ant compiling Java solutions. My question is, is there any equivalent to the task that existed in Ant? The task in Nant only appears to let me set one property at a time. I would like to set my build properties in a separate file and impor

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

2003-10-25 Thread Scott Hernandez
Lowery" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, October 20, 2003 5:34 AM Subject: [Nant-users] Properties problem with the schema task > Hi there, > > I'm working with a recent nightly build of nant and I noticed that the > schema task is now

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

2003-10-23 Thread Gert Driesen
- From: "Ben Lowery" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, October 20, 2003 2:34 PM Subject: [Nant-users] Properties problem with the schema task > Hi there, > > I'm working with a recent nightly build of nant and I noticed that the > sc

[Nant-users] Properties problem with the schema task

2003-10-23 Thread Ben Lowery
Hi there, I'm working with a recent nightly build of nant and I noticed that the schema task is now generating the name of the task as "properties" instead of "property". Any ideas on why the name is wrong? I stepped through the code for the schema task, but didn't have any luck figuring out wh

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
. -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Sent: Thursday, February 13, 2003 5:04 PMTo: [EMAIL PROTECTED]Subject: [Nant-users] Properties Can I reuse a property? I want to set a property then change it later in the script.   I want to have one build file

[Nant-users] Properties

2003-02-13 Thread dave
Can I reuse a property? I want to set a property then change it later in the script.   I want to have one build file that can switch depending on a variable. Is this not what properties are for?   When I set the property it is always what ever I set it to last. Can anyone tell me how I