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
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
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
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---
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
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
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
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
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
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
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
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
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
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
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]
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
...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
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,
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
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
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
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
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.
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
"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
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
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.
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
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
29 matches
Mail list logo