return eclipseTarget;
// TODO [author=Dan] For now, link > 3.4 code into 3.4 Eclipse installations
// until we successfully compile all products against > 3.5 and include that code in the installer
if (eclipseTarget.getMajor() > 3 || (eclipseTarget.getMajor() == 3 && eclipseTarget.getMinor() > 4)) {
EclipseVersion adjustedEclipseTarget = new EclipseVersion(3, 4, 0, null);
if (getEntries(image, adjustedEclipseTarget).length > 0) {
if (options.isVerbose())
System.out.println(" adjusting " + this + " targetDir from E-" + eclipseTarget.getMajor() + "."
+ eclipseTarget.getMinor() + " to E-" + adjustedEclipseTarget.getMajor() + "."
+ adjustedEclipseTarget.getMinor());
return adjustedEclipseTarget;
}
}
// Nothing to be installed