Re: Ant script to edit a write protected file.

2010-11-22 Thread ritchie
Thanks everyone for your answers. I used this to change the mode in windows. -- View this message in context: http://ant.1045680.n5.nabble.com/Ant-script-to-edit-a-write-protected-file-tp3274912p3275985.html Sent from the Ant - Users mailing list archive at Nabble.com. ---

Re: xmlTask - Help

2010-11-22 Thread Jo Support
Finally I realized that library XmlTask from Oops is nothing more than a XSLT engine, and it uses the same mechanics, so I found (thanks to your example) the right syntax to get what I wanted using that library: This code does the job cor

RE: xmlTask - Help

2010-11-22 Thread Ludwig, Michael
> In your particular use case, you can use xslt. You just need > to write an xsl file doing the change that you would like. Here's the XSL file you need: http://www.w3.org/1999/XSL/Transform";> terracotta Best, Michael -

Re: Ant script to edit a write protected file.

2010-11-22 Thread David Weintraub
On Sun, Nov 21, 2010 at 10:22 PM, ritchie wrote: > > I am trying to add new attributes to a xml file using classes available in > com.oopsconsultancy.xmltask.ant.XmlTask classes but not able to write to the > file because it is write protected. Is it possible to edit a write protected > xml file u

Re: Ant script to edit a write protected file.

2010-11-22 Thread Antoine Levy-Lambert
You can use the attrib or the chmod task to make the file writable. Antoine On 11/21/2010 10:22 PM, ritchie wrote: I am trying to add new attributes to a xml file using classes available in com.oopsconsultancy.xmltask.ant.XmlTask classes but not able to write to the file because it is write pr

Re: xmlTask - Help

2010-11-22 Thread Antoine Levy-Lambert
On 11/22/2010 8:05 AM, Jo Support wrote: Hello people, I'm sorry to write here about a third party library, but it seems that official xmlTask mailing list is off (no messages since subscription, three days ago), and there are no news about Oops Consultancy since September 2009. So I'll try to

xmlTask - Help

2010-11-22 Thread Jo Support
Hello people, I'm sorry to write here about a third party library, but it seems that official xmlTask mailing list is off (no messages since subscription, three days ago), and there are no news about Oops Consultancy since September 2009. So I'll try to quest here, hoping for someone to be able to