Search in sources :

Example 1 with LaunchConfigTestProject2

use of org.hibernate.eclipse.console.test.project.LaunchConfigTestProject2 in project jbosstools-hibernate by jbosstools.

the class CodeGenExternalProcessExecutionTest method setUp.

protected void setUp() throws Exception {
    super.setUp();
    this.project = new LaunchConfigTestProject2();
    final String fileNameConsoleConfig = LaunchConfigTestProject2.LAUNCH_CONSOLE_CONFIG_TEST_FILE;
    ILaunchConfiguration launchConfig = loadLaunchConfigFromFile(fileNameConsoleConfig);
    final EclipseLaunchConsoleConfigurationPreferences cfgprefs = new EclipseLaunchConsoleConfigurationPreferences(launchConfig);
    consoleCfg = new ConsoleConfiguration(cfgprefs);
    KnownConfigurations.getInstance().addConfiguration(consoleCfg, true);
}
Also used : ILaunchConfiguration(org.eclipse.debug.core.ILaunchConfiguration) ConsoleConfiguration(org.hibernate.console.ConsoleConfiguration) EclipseLaunchConsoleConfigurationPreferences(org.hibernate.eclipse.console.EclipseLaunchConsoleConfigurationPreferences) LaunchConfigTestProject2(org.hibernate.eclipse.console.test.project.LaunchConfigTestProject2)

Aggregations

ILaunchConfiguration (org.eclipse.debug.core.ILaunchConfiguration)1 ConsoleConfiguration (org.hibernate.console.ConsoleConfiguration)1 EclipseLaunchConsoleConfigurationPreferences (org.hibernate.eclipse.console.EclipseLaunchConsoleConfigurationPreferences)1 LaunchConfigTestProject2 (org.hibernate.eclipse.console.test.project.LaunchConfigTestProject2)1