Re: [NAnt-users] task/function to rename files with a prefix?

2008-08-26 Thread William_Martin
You are using a fileset by using . If you check the documentation, you'll see that the element is of type fileset. This approach is used a few places in NAnt and can be confusing - basically, fileset is a type, and so any element in a task can be of this type without actually having that name. (

Re: [NAnt-users] task/function to rename files with a prefix?

2008-08-26 Thread Steve Kapinos
I got there via this method What was confusing me a bit was, the example below worked with the prop

[NAnt-users] task/function to rename files with a prefix?

2008-08-26 Thread Steve Kapinos
I'm trying to grab a set of files from a directory, move it to another, and prefix all the names with a variable as I move them. My theory is to loop through each file with a fornext and use a fileset to select my files. However, I can not seem to get the fileset and fornext to be happy. The doc

Re: [NAnt-users] INTERNAL ERROR withbroloco.NAntScript.1.0.0.0.net-2.0

2008-08-26 Thread Richard (Google)
Yup, cheers Gert tried it with the contrib tasks added and it ran OK. (Just by changing the " to ") Helmut, does that help you? Cheers, Richard http://broloco.blogspot.com -- From: "Gert Driesen" <[EMAIL PROTECTED]> Sent: Tuesday, A

Re: [NAnt-users] INTERNAL ERROR withbroloco.NAntScript.1.0.0.0.net-2.0

2008-08-26 Thread Gert Driesen
Richard, Yes, the choose task is indeed part of NAntContrib. Gert -- From: "Richard (Google)" <[EMAIL PROTECTED]> Sent: Tuesday, August 26, 2008 2:39 PM To: "Dipper, Helmut" <[EMAIL PROTECTED]>; Subject: Re: [NAnt-users] INTERNAL ERROR withbrolo

Re: [NAnt-users] INTERNAL ERROR with broloco.NAntScript.1.0.0.0.net-2.0

2008-08-26 Thread Richard (Google)
Hi Helmut, I think the problem _is_ actually with the NAntScript task ... or more specifically that the error we've thrown is pretty useless. The problem is that NAntScript is doing something a little naughty ... it's using string manipulation instead of parsing an XML DOM, so it's managing (i

[NAnt-users] INTERNAL ERROR with broloco.NAntScript.1.0.0.0.net-2.0

2008-08-26 Thread Dipper, Helmut
Hi, I made some tests with broloco.NAntScript.1.0.0.0.net-2.0, a tool to create private tasks, and get an "INTERNAL ERROR": see attached build-file and logging from "nant -v". It seems to be a problem of nant, not of broloco. Best regards Helmut Dipper test.build Description: test.build test