Thanks everyone for your answers. I used this <attrib file="${file.name}" readonly="false"/> 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.
--------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org