Re: [nant-dev] Any chance of a release soon?

2006-03-01 Thread John Ludlow
Ooops... Forgot to cc the list On 01/03/06, John Ludlow [EMAIL PROTECTED] wrote: Would my XML patch be able to get into that release? I sure don't fancy updating and repatching. Also, more importantly, there's the .NET 2.0 solution support issue. On 01/03/06, Gert Driesen [EMAIL PROTECTED

Re: [nant-dev] New XML tasks and functions

2006-02-13 Thread John Ludlow
support namespaces. I'm considering making changes to the _expression_ evaluator so that it can support a namespace manager, and I was looking into the code for the evaluator today. RegardsJohnOn 13/02/06, John Ludlow [EMAIL PROTECTED] wrote: Hi Joao,Thanks for your feedback, and I'm glad you found

Re: [nant-dev] New XML tasks and functions

2006-02-07 Thread John Ludlow
later.John On 06/02/06, John Ludlow [EMAIL PROTECTED] wrote: I'm pretty new to it myself ;) I'll take a look at the changes and see if I can get it built and tested, and I'll let you know what happens.CheersJohn On 06/02/06, Dries Verbeke [EMAIL PROTECTED] wrote: Hi

Re: [nant-dev] New XML tasks and functions

2006-02-07 Thread John Ludlow
That was meant to say This zip file has the updated source and NAnt.Core.dll :/JohnOn 07/02/06, John Ludlow [EMAIL PROTECTED] wrote:This zip file has the On 07/02/06, John Ludlow [EMAIL PROTECTED] wrote: The updated task (using the code from Dries) is at home :( I'll email it tonight (I meant

Re: [nant-dev] New XML tasks and functions

2006-02-06 Thread John Ludlow
that a namespace has been specified on the task and it should apply that namespace. I'll see if I can get it to work out the task instance that has been run and from there whether or not to apply a namespace. If anyone has any ideas, please email me.CheersJohn On 03/02/06, John Ludlow [EMAIL

Re: [nant-dev] New XML tasks and functions

2006-02-06 Thread John Ludlow
that, there's a case for having an XmlTask base anyway as there's some common functionality there.) I get the feeling I'm missing something fairly obvious. Anyway, I'm off to bed since I'm tired and I have an interview tomorrow. :) See ya later.JohnOn 06/02/06, John Ludlow [EMAIL PROTECTED] wrote: I'm

Re: [nant-dev] New XML tasks and functions

2006-02-03 Thread John Ludlow
) know that a namespace has been specified on the task and it should apply that namespace. I'll see if I can get it to work out the task instance that has been run and from there whether or not to apply a namespace. If anyone has any ideas, please email me.CheersJohn On 03/02/06, John Ludlow [EMAIL

Re: [nant-dev] New XML tasks and functions

2006-02-01 Thread John Ludlow
to use namespaces to have similar alternatives when I have more time. CheersJohnOn 30/01/06, John Ludlow [EMAIL PROTECTED] wrote: Actually, scratch that. It seems that it needs to implement IConvertible if it needs to pass to that function. I'll carry on looking at it, and let you know how I get

Re: [nant-dev] New XML tasks and functions

2006-01-30 Thread John Ludlow
Hi, MartinOn 30/01/06, Martin Aliger [EMAIL PROTECTED] wrote: Hello,I like it very much. Expecially functions. Bad luck I personally neednamespace support, since mine xmls have some namespace in it. And evendefault namespace needs specification in xpaths :-( I don't know that much about

Re: [nant-dev] New XML tasks and functions

2006-01-30 Thread John Ludlow
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of John Ludlow Sent: Tuesday, January 24, 2006 7:19 PM To: nant-developers@lists.sourceforge.net; nantcontrib-developer@lists.sourceforge.net Subject: [nant-dev] New XML tasks and functions Hi, there Recently I

Re: [nant-dev] New XML tasks and functions

2006-01-30 Thread John Ludlow
Actually, scratch that. It seems that it needs to implement IConvertible if it needs to pass to that function. I'll carry on looking at it, and let you know how I get on.On 30/01/06, John Ludlow [EMAIL PROTECTED] wrote: Hi, Martin,I've knocked together the following two functions. I haven't

[nant-dev] New XML tasks and functions

2006-01-24 Thread John Ludlow
Hi, there Recently I mentioned on the NAnt Dev list that I have been working on XML-handling functionality. I've got further than I had last time, so I thought about summarising what I've done here (I'm also happy to share the code and/or binaries, so if you want either of these to check it out

[nant-dev] xml-foreach task

2006-01-17 Thread John Ludlow
Hi, all. I've thought for a while that NAnt could do with an easier way to iterate through an XML document. I've made an xml-foreach task, which takes an XML file path and a xpath query as attributes, like this: xml-foreach file=test.xml xpath=/people/person xmlpropertybinding get xpath=@name

[nant-dev] Re: XmlPokeTask extention

2006-01-17 Thread John Ludlow
= true; }RegardsJohnOn 16/01/06, John Ludlow [EMAIL PROTECTED] wrote: In the XmlPeek thread, I mentioned that I was thinking of an XmlPoke task that could easily create a whole xml structure in one go. I finally got around to doing it, and here it is: [TaskName(xmlpoke2)] public class XmlPoke2

[nant-dev] Fwd: XmlPokeTask extention

2006-01-16 Thread John Ludlow
In the XmlPeek thread, I mentioned that I was thinking of an XmlPoke task that could easily create a whole xml structure in one go. I finally got around to doing it, and here it is: [TaskName(xmlpoke2)] public class XmlPoke2 :Task { protected override void ExecuteTask() { _xml =

[nant-dev] Re: XmlPeekTask extention

2006-01-13 Thread John Ludlow
-value value=xml::get-value(filepath, xpath)/ JohnOn 12/01/06, John Ludlow [EMAIL PROTECTED] wrote: I also have some functions in a script element that can perform various tasks on XML - get the number of matches to a certain query, get the XML children of a certain element, get the value of an XML node

[nant-dev] Re: XmlPeekTask extention

2006-01-13 Thread John Ludlow
Oops. I meant like this:property name=my-xml-value value=${xml::get-value(filepath, xpath)}/Sorry about that.On 13/01/06, John Ludlow [EMAIL PROTECTED] wrote: And here it is:project script language=C# prefix=xml imports import namespace=System.Xml/ /imports code ![CDATA[ [Function(value-exists

[nant-dev] Re: XmlPeekTask extention

2006-01-12 Thread John Ludlow
I also have some functions in a script element that can perform various tasks on XML - get the number of matches to a certain query, get the XML children of a certain element, get the value of an XML node (basically like the peek task but using the ${x} syntax, which can be a bit cleaner). I'm at

[nant-dev] NantContrib Starteam task error

2004-06-29 Thread John Ludlow
] Total time: 0.1 seconds. John Ludlow Software Build Engineer Minorplanet Systems PLC www.minorplanet.com *Privileged/Confidential Information may be contained in this message. If you are not the addressee