EXECUTE: Create Seam 2FP EAR project.
Case 1:
EXECUTE: Open Hibernate view. Right click on projects configuration, select "Mapping diagram' item.
FAILURE: Coz configuration is empty (no entities etc in project) - nothing happens after selecting "Mapping diagram" item. I think it will be better if empty diagram appears in this case.
Case 2:
EXECUTE: New > Hibernate XML mapping file.
EXECUTE: Select Class - Authentificator, press Finish.
EXECUTE: Authentificator mapping appears. It is broken (JBIDE-5052) and will cause problems.
EXECUTE: Open Hibernate view. Right click on projects configuration, select "Mapping diagram' item.
FAILURE: Unhadled Loop exception appears instead of "Bad configuration file" error dialog.
Exception stacktrace:
org.hibernate.console.HibernateConsoleRuntimeException: Could not create JPA based Configuration
at org.hibernate.console.ConsoleConfiguration.buildJPAConfiguration(ConsoleConfiguration.java:163)
at org.hibernate.console.ConsoleConfiguration.buildConfiguration(ConsoleConfiguration.java:644)
at org.hibernate.console.ConsoleConfiguration.access$0(ConsoleConfiguration.java:629)
at org.hibernate.console.ConsoleConfiguration$2.execute(ConsoleConfiguration.java:291)
at org.hibernate.console.execution.DefaultExecutionContext.execute(DefaultExecutionContext.java:64)
at org.hibernate.console.ConsoleConfiguration.buildWith(ConsoleConfiguration.java:273)
at org.hibernate.console.ConsoleConfiguration.build(ConsoleConfiguration.java:112)
at org.jboss.tools.hibernate.ui.view.OpenDiagramActionDelegate.run(OpenDiagramActionDelegate.java:78)
at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:251)
...