if (externalForm != null && externalForm.length() > 0) { try { vmStandin.setJavadocLocation(new URL(externalForm)); } catch (MalformedURLException e) { container.addStatus(new Status(IStatus.ERROR, LaunchingPlugin.ID_PLUGIN,
if (externalForm != null && externalForm.length() > 0) { try { vmStandin.setJavadocLocation(new URL(externalForm)); } catch (MalformedURLException e) { container.addStatus(new Status(IStatus.ERROR, LaunchingPlugin.ID_PLUGIN,
AbstractVMInstallType abs = (AbstractVMInstallType)vmType; URL url = abs.getDefaultJavadocLocation(detectedLocation); detectedVMStandin.setJavadocLocation(url); String arguments = abs.getDefaultVMArguments(detectedLocation); if (arguments != null) {
AbstractVMInstallType abs = (AbstractVMInstallType)vmType; URL url = abs.getDefaultJavadocLocation(detectedLocation); detectedVMStandin.setJavadocLocation(url); String arguments = abs.getDefaultVMArguments(detectedLocation); if (arguments != null) {
/** * Initializes the settings of this stand-in based on the settings in the given * VM install. * * @param realVM VM to copy settings from */ private void init(IVMInstall realVM) { setName(realVM.getName()); setInstallLocation(realVM.getInstallLocation()); setLibraryLocations(realVM.getLibraryLocations()); setJavadocLocation(realVM.getJavadocLocation()); if (realVM instanceof IVMInstall2) { IVMInstall2 vm2 = (IVMInstall2) realVM; setVMArgs(vm2.getVMArgs()); fJavaVersion = vm2.getJavaVersion(); } else { setVMArguments(realVM.getVMArguments()); fJavaVersion = null; } if (realVM instanceof AbstractVMInstall) { AbstractVMInstall vm2 = (AbstractVMInstall) realVM; Map<String, String> attributes = vm2.getAttributes(); Iterator<Entry<String, String>> iterator = attributes.entrySet().iterator(); while (iterator.hasNext()) { Entry<String, String> entry = iterator.next(); setAttribute(entry.getKey(), entry.getValue()); } } }
/** * Initializes the settings of this stand-in based on the settings in the given * VM install. * * @param realVM VM to copy settings from */ private void init(IVMInstall realVM) { setName(realVM.getName()); setInstallLocation(realVM.getInstallLocation()); setLibraryLocations(realVM.getLibraryLocations()); setJavadocLocation(realVM.getJavadocLocation()); if (realVM instanceof IVMInstall2) { IVMInstall2 vm2 = (IVMInstall2) realVM; setVMArgs(vm2.getVMArgs()); fJavaVersion = vm2.getJavaVersion(); } else { setVMArguments(realVM.getVMArguments()); fJavaVersion = null; } if (realVM instanceof AbstractVMInstall) { AbstractVMInstall vm2 = (AbstractVMInstall) realVM; Map<String, String> attributes = vm2.getAttributes(); Iterator<Entry<String, String>> iterator = attributes.entrySet().iterator(); while (iterator.hasNext()) { Entry<String, String> entry = iterator.next(); setAttribute(entry.getKey(), entry.getValue()); } } }
if (javadoc != null) { try { standin.setJavadocLocation(new URL(javadoc)); } catch (MalformedURLException e) { abort(NLS.bind("Illegal javadocURL attribute for vmInstall {0} contributed by {1}", //$NON-NLS-1$
if (javadoc != null) { try { standin.setJavadocLocation(new URL(javadoc)); } catch (MalformedURLException e) { abort(NLS.bind("Illegal javadocURL attribute for vmInstall {0} contributed by {1}", //$NON-NLS-1$
standin.setLibraryLocations(description.getLibraryLocations()); standin.setVMArgs(description.getVMArguments()); standin.setJavadocLocation(EEVMType.getJavadocLocation(description.getProperties())); standin.setAttribute(EEVMInstall.ATTR_EXECUTION_ENVIRONMENT_ID, description.getProperty(ExecutionEnvironmentDescription.CLASS_LIB_LEVEL)); File exe = description.getExecutable();
standin.setLibraryLocations(description.getLibraryLocations()); standin.setVMArgs(description.getVMArguments()); standin.setJavadocLocation(EEVMType.getJavadocLocation(description.getProperties())); standin.setAttribute(EEVMInstall.ATTR_EXECUTION_ENVIRONMENT_ID, description.getProperty(ExecutionEnvironmentDescription.CLASS_LIB_LEVEL)); File exe = description.getExecutable();