if (installFolders.size()>0) {
File scalaHome = FileUtil.toFile ((FileObject)installFolders.iterator().next());
props.setProperty(homePropName, scalaHome.getAbsolutePath());
ClassPath bootCP = platform.getBootstrapLibraries();
StringBuffer sbootcp = new StringBuffer();
for (ClassPath.Entry entry : bootCP.entries()) {
URL url = entry.getURL();
if ("jar".equals(url.getProtocol())) { //NOI18N
url = FileUtil.getArchiveFile(url);
}
File root = new File (URI.create(url.toExternalForm()));