List of usage examples for org.springframework.ide.eclipse.boot.launch.devtools BootDevtoolsClientLaunchConfigurationDelegate setRemoteUrl
public static void setRemoteUrl(ILaunchConfigurationWorkingCopy conf, String value)
From source file:org.springframework.ide.eclipse.boot.dash.cloudfoundry.DevtoolsUtil.java
private static ILaunchConfigurationWorkingCopy createConfiguration(IProject project, String host) throws CoreException { ILaunchConfigurationType configType = getConfigurationType(); String projectName = project.getName(); ILaunchConfigurationWorkingCopy wc = configType.newInstance(null, getLaunchManager().generateLaunchConfigurationName("cf-devtools-client[" + projectName + "]")); BootLaunchConfigurationDelegate.setProject(wc, project); BootDevtoolsClientLaunchConfigurationDelegate.setRemoteUrl(wc, remoteUrl(host)); wc.setMappedResources(new IResource[] { project }); return wc;//w w w. j av a2 s. c o m }