public void addModule(IProject project) throws CoreException {
Assert.isNotNull(server, "Invoke createServer() first");
IModule[] modules = ServerUtil.getModules(project);
IServerWorkingCopy wc = server.createWorkingCopy();
wc.modifyModules(modules, new IModule[0], null);
wc.save(true, null);
}
public IProject createProject(String projectName) throws CoreException, IOException {
return StsTestUtil.createPredefinedProject(projectName, CloudFoundryTestFixture.PLUGIN_ID);