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
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
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
://ant.1045680.n5.nabble.com/Ant-script-to-edit-a-write-protected-file-tp3274912p3274912.html
Sent from the Ant - Users mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
For additional