I would like to use ant script to set readonly for every file in the directory
but execdoes not allow filelist:
<target name="readonly">
<exec executable="attrib +r">
<fileset dir="${reset.root.dir}">
<include name="**/*" />
</fileset>
</exec>
</target>
The type does not support the file set nested element.
source
share