Example usage for org.springframework.ide.eclipse.boot.launch.devtools BootDevtoolsClientLaunchConfigurationDelegate setRemoteUrl

List of usage examples for org.springframework.ide.eclipse.boot.launch.devtools BootDevtoolsClientLaunchConfigurationDelegate setRemoteUrl

Introduction

In this page you can find the example usage for org.springframework.ide.eclipse.boot.launch.devtools BootDevtoolsClientLaunchConfigurationDelegate setRemoteUrl.

Prototype

public static void setRemoteUrl(ILaunchConfigurationWorkingCopy conf, String value) 

Source Link

Usage

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
}