Re: [NAnt-users] bug in path::get-directory-name()?

2007-02-14 Thread Rod Ayers
Have you tried: path::get-directory-name("c:\my-folder\") or path::get-directory-name("c:\my-folder\*.*") -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Daniel Blendea Sent: Wednesday, February 14, 2007 8:11 AM To: Bob Archer Cc: nant-users@lists.sourcefo

Re: [NAnt-users] bug in path::get-directory-name()?

2007-02-14 Thread Rod Ayers
Don't forget that both files and subdirectories are objects in the parent folder. We assign special meaning to "directory/folder", but the function returns information about the parent of the object. Rod -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of

Re: [NAnt-users] deploying to remote server using NAnt

2006-10-13 Thread Rod Ayers
We started scripting using VBS and WMI. Of course, WMI inerface is availbable to VB and C#, so you can put your script in NAnt. WMI gives you access to everything concievable on local or remote systems, including running jobs on remote systems. Rod -Original Message- From: [EMAIL PROT

Re: [NAnt-users] Shared Components

2006-09-12 Thread Rod Ayers
A great, helpful discussion I absolutely agree with the concept of treating "internally-created" assemblies/dll's in the same way as we would "third-party" stuff. It's a powerful concept, though I've known developers who seem to get really confused by the idea! Rod -Original Message---

Re: [NAnt-users] Shared Components

2006-09-12 Thread Rod Ayers
Hi, Eric Sounds OK at first blush...assuming you're getting everything you need for all possible "shared projects"> Rod -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eric Fetzer Sent: Tuesday, September 12, 2006 10:43 AM To: Bob Archer; Nant User

Re: [NAnt-users] Shared Components

2006-09-12 Thread Rod Ayers
Hi, Eric I've got a couple of variations. For one, we have an "Assemblies" folder in VSS, and I can get from their. It's a little not neat, because I have to do a setup each Build separately. Also, I've found that Developers don't keep the shared folder current...or they make minor tweaks f

Re: [NAnt-users] Setting property after reading from a file.

2006-06-21 Thread Rod Ayers
obviously have to parse the line that you read in order to extract the correct property name. But you'd be much better off either storing this information in XML or using the response file technique suggested by Rod Ayers. The advantage of the XML approach is that it avoids the readonly issue

Re: [NAnt-users] Setting property after reading from a file.

2006-06-13 Thread Rod Ayers
Hi, Niranjan   I did that quite easily with a response file.  Here's a snippet from the batch file I used: NAnt @myapp.response %*   The "@" indicates that myapp.response is a response file.  The extension has no particular meaning, and could even be omitted.   The %* added any parms

RE: [NAnt-users] NAnt & Infragistics

2006-04-28 Thread Rod Ayers
ull...a 0-length.  The way I fixed the problem was to use the echo task to redirect a null value to the license file.  Worked like a champ.   Rod -Original Message-From: Ahmed, Shabana [mailto:[EMAIL PROTECTED]Sent: Friday, April 28, 2006 8:03 AMTo: Rod Ayers; nant-users@lists.sourc

RE: [NAnt-users] NAnt & Infragistics

2006-04-27 Thread Rod Ayers
I had to install Infragistics on the Build System.  Another problem I had was the license file...the one that existed was "acceptable".  I fixed that problem by echoing a null line to each occurrence of the license file so it would be empty ("0" length).  That fix I finally tracked down on t

RE: [NAnt-users] Directory paths with spaces

2006-04-25 Thread Rod Ayers
Hi, Jay   The workaround I found is to sepcifiy the parameter and the parameter value separately, as below where I split the "/out" parm:    append="false" verbose="true"   >       -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROT

RE: [NAnt-users] project.get-name

2006-04-24 Thread Rod Ayers
Try this:  ${project::get-name()} -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Ahmed, ShabanaSent: Monday, April 24, 2006 1:28 PMTo: nant-users@lists.sourceforge.netSubject: [NAnt-users] project.get-name Hi All,      I am curren

RE: [NAnt-users] Increment number

2006-04-10 Thread Rod Ayers
  Hi, Daniell   In this case I had already set the value of index, and needed to increment it to save in index.1.   value="${int::parse(index) + 1}"/>   And another: value="${string::substring(build.number, int::parse(index.1),int::parse(length.1))}"/>   Rod -Original Message

RE: [NAnt-users] MSI: KeyFile not found in Component

2006-03-30 Thread Rod Ayers
der as the component?   Rod -Original Message-From: Kevin Kirkpatrick [mailto:[EMAIL PROTECTED]Sent: Thursday, March 30, 2006 2:35 PMTo: Rod Ayers; nant-users@lists.sourceforge.netSubject: RE: [NAnt-users] MSI: KeyFile not found in Component Hey Rod, Good question.  I thoug

RE: [NAnt-users] MSI: KeyFile not found in Component

2006-03-30 Thread Rod Ayers
Hi, Kevin   Does know where to find the dll?  You have a folder specified on the component, and one on the fileset.  Is the value in {build.bin.dir} = C:\Automation\Common\Assemblies?  f not, might you need to code it as ?   Rod   -Original Message-From: [EMAIL PROTECTED]

[NAnt-users] Using Include

2006-03-29 Thread Rod Ayers
perties. Does that pretty well cover it? Thanks...! Rod Ayers Lead Build Release Engineer Configuration Management Desk Phone:  (949) 517-0527 Blackberry:    (949) 355-9874 3337 Michelson Dr., Irvine, CA  92612 Suite 340 B-414.05

RE: [NAnt-users] Exiting a Task

2006-03-29 Thread Rod Ayers
...task housekeeping... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Gary Feldman Sent: Tuesday, March 28, 2006 9:46 PM To: nant-users@lists.sourceforge.net Subject: Re: [NAnt-users] Exiting a Task Rod Ayer

RE: [NAnt-users] Getting full path

2006-03-28 Thread Rod Ayers
Title: Re: [NAnt-users] Traversing Directories Hi, Bryan   Drop the quote marks...its taking $... as a literal string.  You may need to add a "\":  }\$   Rod -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Bryan D. AndrewsSent: Tuesday,

Re: [NAnt-users] Traversing Directories

2006-03-28 Thread Rod Ayers
Title: Re: [NAnt-users] Traversing Directories Hi bryan Doesn't matter...I've done it to though not on purpose Somewhere in nant doc it say nant will handle the platform differeces Rod -- Sent from my BlackBerry Wireless Handheld -Original M

RE: [NAnt-users] Exiting a Task

2006-03-27 Thread Rod Ayers
man Sent: Monday, March 27, 2006 10:15 AM To: nant-users@lists.sourceforge.net Subject: Re: [NAnt-users] Exiting a Task Rod Ayers wrote: > Is there a way to exit from a task without completing the entire > ask...other then (!!)...? > I assume you really mean exit from a target. Usual

[NAnt-users] Exiting a Task

2006-03-24 Thread Rod Ayers
Title: Exiting a Task Is there a way to exit from a task without completing the entire ask...other then (!!)...? Thanks...! Rod Ayers Lead Build Release Engineer Configuration Management Desk Phone:  (949) 517-0527 Blackberry:    (949) 355-9874 3337 Michelson Dr., Irvine, CA

RE: [NAnt-users] Adding variables.

2006-02-20 Thread Rod Ayers
Hi, Niranjan   The way you coded it will concatenate value1 and value2.  You';; need the int::parse() function to get the numeric "value" of the "string".   Here's soemthing I ended up doing when I was formatting the build number.  Setting length.1 involved subtracting one property from

RE: [NAnt-users] lc.exe error

2006-01-27 Thread Rod Ayers
Hi, Sophie   I don't know if this is the same thing, but I ran into a problem with Infragistics license files.  By the time I had Gooled all over the world, I found an item buried in the vendor's site that essentially said to create and empty license file, and let the compile rebuild it.

RE: [NAnt-users] clean target

2005-12-28 Thread Rod Ayers
I do my "Clean" before I get the code...just two folders in my environment. Then I get the code from VSS. It's our standard Build process. Simplifies everything! Rod -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Marc Towersap Sent: Wednesday, Decembe

RE: [NAnt-users] Strange error - batch script exits after any nant command

2005-12-21 Thread Rod Ayers
"No Echo"...you need to "call" in order to return to the bat file: Call nant /? Witholut the "call", control transfers to nant and the batch file ends. Rod -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of B Wooster Sent: Wednesday, December 21, 2005 7:5

RE: [Nant-users] Problem with readonly attribute on property

2005-11-18 Thread Rod Ayers
EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gary Feldman Sent: Thursday, November 17, 2005 9:08 AM To: nant-users@lists.sourceforge.net Subject: Re: [Nant-users] Problem with readonly attribute on property Rod Ayers wrote: >... >A related question: >I'd like to check and

[Nant-users] Nant Response file

2005-11-17 Thread Rod Ayers
What is the format of the NAnt response file?  Something like this, using a file called NAnt.Response   -buildfile:NAnt.build -l:My.log -D:app.file.buildfile=My.build -D:app.file.properties=My.properties   invoked like:   NAnt @NAnt.Response     Thanks, Rod

RE: [Nant-users] Problem with readonly attribute on property

2005-11-17 Thread Rod Ayers
re. Let me know if its working for you using a recent nightly build (http://nant.sourceforge.net/nightly/latest). Gert > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Rod Ayers > Sent: woensdag 16 november 2005 7:59 > To: nant-users@lis

[Nant-users] Problem with readonly attribute on property

2005-11-15 Thread Rod Ayers
I have a "top-level" build file in which I initialize several properties.  It then calls a task in another build file that reads a properties file, updating properties previously initialized.  I want to make sure that properties updated from the property file don't get overwritten anywhere