21st Century Digital Boy

September 19, 2008

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

Filed under: Uncategorized — Tags: , — Gregg @ 3:48 pm

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.

No Comments Yet »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a comment

You must be logged in to post a comment.

Blog at WordPress.com.