
launcherPath = launcherPath.removeLastSegments(4);
return launcherPath.toFile();</BUG>
}
<BUG>}
if (EclipseLauncherParser.MACOSX_BUNDLED.equals(launcherData.getOS())) {
Log.log(LogService.LOG_WARNING, "Problem figuring out the osgi install area. The bundled mode of macosx requires a -startup argument to be specified."); //$NON-NLS-1$</BUG>
}
return launcherFile.getParentFile();
}

}
if (launcherData.getFwJar() != null)
return fromOSGiJarToOSGiInstallArea(launcherData.getFwJar().getAbsolutePath());
File launcherFile = launcherData.getLauncher();
if (launcherFile != null) {
if (Constants.OS_MACOSX.equals(launcherData.getOS())) { //
IPath launcherPath = new Path(launcherFile.getAbsolutePath());
if (launcherPath.segmentCount() > 1) {
launcherPath = launcherPath.removeLastSegments(1).append("Eclipse"); //$NON-NLS-1$
return launcherPath.toFile();
}
}
return launcherFile.getParentFile();
}
