domainProject.setDescription(description, new SubProgressMonitor(progressMonitor, 5));
IJavaProject javaProject = JavaCore.create(domainProject);
javaProject.setOutputLocation(domainProject.getFullPath(), new SubProgressMonitor(progressMonitor, 5));
IClasspathEntry classPath = JavaCore.newContainerEntry(new CoreClasspathContainer().getPath());
IClasspathEntry jrePath = JavaRuntime.getDefaultJREContainerEntry();
javaProject.setRawClasspath(new IClasspathEntry[] {jrePath, classPath}, new SubProgressMonitor(progressMonitor, 5));
} else {
domainProject.open(new SubProgressMonitor(progressMonitor, 5));