Search in sources :

Example 1 with DSELaunch

use of de.uka.ipd.sdq.dsexplore.launch.DSELaunch in project iobserve-analysis by research-iobserve.

the class Application method launchPeropteryx.

private void launchPeropteryx(final String workingDir) throws CoreException {
    final DSELaunch launch = new DSELaunch();
    this.configureInternalWorkspace(workingDir);
    final String projectDir = PerOpteryxLaunchConfigurationBuilder.DEFAULT_PROJECT_NAME + "/" + PerOpteryxLaunchConfigurationBuilder.DEFAULT_PROJECT_WORKING_DIR;
    final ILaunchConfiguration launchConfig = PerOpteryxLaunchConfigurationBuilder.getDefaultLaunchConfiguration(projectDir, workingDir);
    final ILaunch currentLaunch = new Launch(launchConfig, ILaunchManager.RUN_MODE, null);
    DebugPlugin.getDefault().getLaunchManager().addLaunch(currentLaunch);
    launch.launch(launchConfig, ILaunchManager.RUN_MODE, currentLaunch, new NullProgressMonitor());
}
Also used : NullProgressMonitor(org.eclipse.core.runtime.NullProgressMonitor) DSELaunch(de.uka.ipd.sdq.dsexplore.launch.DSELaunch) ILaunchConfiguration(org.eclipse.debug.core.ILaunchConfiguration) ILaunch(org.eclipse.debug.core.ILaunch) Launch(org.eclipse.debug.core.Launch) DSELaunch(de.uka.ipd.sdq.dsexplore.launch.DSELaunch) ILaunch(org.eclipse.debug.core.ILaunch)

Example 2 with DSELaunch

use of de.uka.ipd.sdq.dsexplore.launch.DSELaunch in project iobserve-analysis by research-iobserve.

the class PerOpteryxHeadless method launchPeropteryx.

private void launchPeropteryx(final String workingDir) throws CoreException {
    LOG.info("Configuring PerOpteryx run...");
    DSELaunch launch = new DSELaunch();
    this.configureInternalWorkspace(workingDir);
    String projectDir = PerOpteryxLaunchConfigurationBuilder.DEFAULT_PROJECT_NAME + "/" + PerOpteryxLaunchConfigurationBuilder.DEFAULT_PROJECT_WORKING_DIR;
    ILaunchConfiguration launchConfig = PerOpteryxLaunchConfigurationBuilder.getDefaultLaunchConfiguration(projectDir, workingDir);
    ILaunch currentLaunch = new Launch(launchConfig, ILaunchManager.RUN_MODE, null);
    DebugPlugin.getDefault().getLaunchManager().addLaunch(currentLaunch);
    LOG.info("Launching PerOpteryx...");
    launch.launch(launchConfig, ILaunchManager.RUN_MODE, currentLaunch, new NullProgressMonitor());
}
Also used : NullProgressMonitor(org.eclipse.core.runtime.NullProgressMonitor) DSELaunch(de.uka.ipd.sdq.dsexplore.launch.DSELaunch) ILaunchConfiguration(org.eclipse.debug.core.ILaunchConfiguration) ILaunch(org.eclipse.debug.core.ILaunch) Launch(org.eclipse.debug.core.Launch) ILaunch(org.eclipse.debug.core.ILaunch) DSELaunch(de.uka.ipd.sdq.dsexplore.launch.DSELaunch)

Aggregations

DSELaunch (de.uka.ipd.sdq.dsexplore.launch.DSELaunch)2 NullProgressMonitor (org.eclipse.core.runtime.NullProgressMonitor)2 ILaunch (org.eclipse.debug.core.ILaunch)2 ILaunchConfiguration (org.eclipse.debug.core.ILaunchConfiguration)2 Launch (org.eclipse.debug.core.Launch)2