if (launcherData.getLauncher() != null) base = launcherData.getLauncher().getParentFile().toURI(); else if (launcherData.getHome() != null) base = launcherData.getHome().toURI(); File result = getOSGiInstallArea(programArgs, properties, base); if (result != null) return result; if (launcherData.getHome() != null) { return launcherData.getHome();
if (launcherData.getLauncher() != null) base = launcherData.getLauncher().getParentFile().toURI(); else if (launcherData.getHome() != null) base = launcherData.getHome().toURI(); File result = getOSGiInstallArea(programArgs, properties, base); if (result != null) return result; if (launcherData.getHome() != null) { return launcherData.getHome();
launcherData.setFwConfigLocation(fwPersistentDataLocation); } else { File home = launcherData.getHome(); if (home == null) throw new IllegalStateException(Messages.exception_noLocations);
launcherData.setFwConfigLocation(fwPersistentDataLocation); } else { File home = launcherData.getHome(); if (home == null) throw new IllegalStateException(Messages.exception_noLocations);
File home = launcherData.getHome(); File pluginsDir = null; if (home != null)
File home = launcherData.getHome(); File pluginsDir = null; if (home != null)
File baseDir = null; if (fwConfigLoc == null) { baseDir = manipulator.getLauncherData().getHome(); if (baseDir == null) { if (manipulator.getLauncherData().getLauncher() != null) {
File baseDir = null; if (fwConfigLoc == null) { baseDir = manipulator.getLauncherData().getHome(); if (baseDir == null) { if (manipulator.getLauncherData().getLauncher() != null) {
File baseDir = null; if (fwConfigLoc == null) { baseDir = manipulator.getLauncherData().getHome(); if (baseDir == null) { if (manipulator.getLauncherData().getLauncher() != null) {
File home = launcherData.getHome(); if (home != null) { try {
File home = launcherData.getHome(); if (home != null) { try {
public void setLauncherData(LauncherData value) { launcherData.initialize(); launcherData.setFwConfigLocation(value.getFwConfigLocation()); launcherData.setFwPersistentDataLocation(value.getFwPersistentDataLocation(), value.isClean()); launcherData.setJvm(value.getJvm()); launcherData.setJvmArgs(value.getJvmArgs()); launcherData.setOS(value.getOS()); if (launcherData.getFwName().equals(value.getFwName())) if (launcherData.getFwVersion().equals(value.getFwVersion())) { // TODO launcherData.getFwName()/getFwVersion()/ // getLauncherName()/getLauncherVersion() might be taken into consideration // for copying . launcherData.setFwJar(value.getFwJar()); launcherData.setHome(value.getHome()); launcherData.setLauncher(value.getLauncher()); launcherData.setLauncherConfigLocation(value.getLauncherConfigLocation()); } }
@Override public void setLauncherData(LauncherData value) { launcherData.initialize(); launcherData.setFwConfigLocation(value.getFwConfigLocation()); launcherData.setFwPersistentDataLocation(value.getFwPersistentDataLocation(), value.isClean()); launcherData.setJvm(value.getJvm()); launcherData.setJvmArgs(value.getJvmArgs()); launcherData.setOS(value.getOS()); if (launcherData.getFwName().equals(value.getFwName())) if (launcherData.getFwVersion().equals(value.getFwVersion())) { // TODO launcherData.getFwName()/getFwVersion()/ // getLauncherName()/getLauncherVersion() might be taken into consideration // for copying . launcherData.setFwJar(value.getFwJar()); launcherData.setHome(value.getHome()); launcherData.setLauncher(value.getLauncher()); launcherData.setLauncherConfigLocation(value.getLauncherConfigLocation()); } }