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());
}
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());
}
Aggregations