Image

Ant question

I'm trying to build some code via Ant and I've got a question (so it's Java related from a certain perspective)

I have two targets, build-client and build-server. Both of them do a clean independantly. But I now need a build-all which runs both of them. However I need to make it so that clean is run only once while still allowing build-client and build-server to call clean if run individually.

Suggestions?