Any ideas why this doesn't fix the broken symbolic link?
<delete removeNotFollowedSymlinks="true">
<fileset followsymlinks="false" file="/some/path/to/broken/symlink" />
</delete>
Alternatively, I could use below, but would I rather avoid exec?
<exec executable="rm">
<arg value="-f"/>
<arg value="/some/path/to/broken/symlink" />
</exec>
source
share