> And now that I read it more thoroughly I can see your code is a bit
> different since it scan's all hibernate console configurations to find
> the config and possible matching project name.
> It's not pretty but the following should work:
> Isn't that what you want ? The java project associated with the console
> configuration ? (remember that this can be null so remember check for null
Type of consoleConfiguration.getPreferences() is
EclipseLaunchConsoleConfigurationPreferences. Can you explain me how I can
get EclipseConsoleConfigurationPreferences object?
My typo. Use EclipseLaunchConsoleConfigurationPreferences.