// automatically define Moxie tasks
Taskdef def = new Taskdef();
def.setProject(project);
def.setURI("antlib:org.moxie");
def.setResource("org/moxie/antlib.xml");
def.execute();
// add Moxie targets
project.log("adding Moxie phases", Project.MSG_DEBUG);
newInitPhase(project);
newCompilePhase(project);