How can I remove symbolic links using phing so that it also works on Windows?
Creating a symlink is easy and cross-plattform works:
<symlink target="${sharedPath}zend-framework/ZendFramework-${version.zf}/library/Zend/" link="library/Zend" />
But neither
<delete dir="symlinked folder" />
neither
<delete file="symlinked folder" />
will delete the symlink.
How to do it?
Additional Information:
- I am running phing 2.4.10
- Phing actually outputs the [delete] path to the remote file / folder, but the symlink is still there. therefore there is no error message and no apparent failure.
source share