}
IPath location = getProjectLocation(project.getProject());
IPath outputPath = location.append(project.getOutputLocation().removeFirstSegments(1));
pathElements.add(0, outputPath.toFile().toURI().toURL());
for (IPath path: outputPaths) {
outputPath = location.append(path.removeFirstSegments(1));
pathElements.add(0, outputPath.toFile().toURI().toURL());
}
// also add classpath of required projects
for (String projectName: project.getRequiredProjectNames()) {