</BUG>
List<String> rsrcDirs = new ArrayList<String>();
for (CPListElement cpe: resourcePathEntries) {
rsrcDirs.add(configFilePath(project, cpe));
}
<BUG>config.setProjectResourceDirectories(toCeylonStringIterable(rsrcDirs));
</BUG>
config.save();
} finally {
monitor.done();

for (CPListElement cpe: classPathEntries) {
if (cpe.getEntryKind()==IClasspathEntry.CPE_SOURCE) {
srcDirs.add(configFilePath(project, cpe));
}
}
config.setProjectSourceDirectories(new CeylonStringIterable(srcDirs));
List<String> rsrcDirs = new ArrayList<String>();
for (CPListElement cpe: resourcePathEntries) {
rsrcDirs.add(configFilePath(project, cpe));
}
config.setProjectResourceDirectories(new CeylonStringIterable(rsrcDirs));
config.save();
} finally {
monitor.done();
