serverTasks.stopServer();
// delete the projects that have been created
// reverse alphabetical is a little smoother
projectTasks.deleteProject ("SampleWAR");
projectTasks.deleteProject ("SampleEJB");
projectTasks.deleteProject ("SampleEAR");
// remove the server
serverTasks.removeServer();