21st Century Digital Boy

Mac, Linux, and my so-called life

Phing tip: don’t use ‘depends’ unless you mean it

leave a comment »

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.

Written by 21cdb

September 19, 2008 at 3:48 pm

Posted in Uncategorized

Tagged with ,

Leave a Reply

You must be logged in to post a comment.