Phing tip: don’t use ‘depends’ unless you mean it
So it turns out Phing is awesome.
If you’re using a foreach task, don’t set the target of the task to have a ‘depends’ attribute, or it’ll end up recursive (target foo calls bar which depends on foo) and that will be … bad.
As long as I’m on about Phing, 2.3.1RC1 seems to still have a problem deleting symlinks, so you’ll probably have to delete any symlinks manually before a delete task.



