This script searches and destroys (most) metadata in an organization. Use cases include ISV package development and testing within Developer Edition and Sandbox environments.
Usage: (paste the macrodef XML into your build file)
<target name="destroy">
<destroy
username="${sf.username}"