I would like to use ant script set readonly for each file in the directory
but exec doesn't allow filelist:
<target name="readonly">
<exec executable="attrib +r">
<fileset dir="${reset.root.dir}">
<include name="**/*" />
</fileset>
</exec>
</target>
The type doesn't support the nested "fileset" element.
Try using the apply task instead of exec, it supports <fileset>.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With