[hibernate-issues] [Hibernate-JIRA] Created: (HBX-1174) Hibernate XML Mapping file wizard does not generate files when project is located outside the Eclipse workspace
Bernd Winter (JIRA)
noreply at atlassian.com
Fri Jan 21 08:54:05 EST 2011
Hibernate XML Mapping file wizard does not generate files when project is located outside the Eclipse workspace
---------------------------------------------------------------------------------------------------------------
Key: HBX-1174
URL: http://opensource.atlassian.com/projects/hibernate/browse/HBX-1174
Project: Hibernate Tools
Issue Type: Bug
Components: eclipse
Environment: Hibernate Tools for Eclipse 3.3.0.v20101206-2100-H28-Beta2
Eclipse 3.6.1.r361_v20100909
Win XP Pro SP3
Reporter: Bernd Winter
Attachments: exWS_0.PNG, exWS_2.PNG, feature.PNG, inWS_0.PNG, inWS_2.PNG, result.PNG
I was adding Hibernate support to a project and tried to use Hibernate Tools for the first time. Using the wizard for the Hibernate Configuration File worked fine. Then I wanted to use the wizard for adding mapping files (feature.PNG). Stepping through the wizard was fine, without any warning or error messages. However, after pressing the Finish button at the end... nothing changed. No file was generated anywhere.
When trying to analyze what was going wrong I noticed suspicious path information in some screens of the wizard (see exWS_2.PNG). I had similar problems when working with another project on Windows 7 (don't know whether the OS has any influence here...): I remember the path looking even more corrupted back then, a relative path going back a few directories; but taking the depth levels into account, the starting point would have been an incorrect directory.
So I had the idea that it might have something to do with the configured Eclipse default workspace. Maybe it's used as a basis for referencing the directories in an incorrect way. To cut a long story short: When creating the exact same project inside the currently used Eclipse workspace, everything works fine.
The default Eclipse workspace is: C:\CVS\workspace
See the project path and wirzard screen of the successful project: inWS_0.PNG, inWS_2.PNG
and the failed project: exWS_0.PNG, exWS_2.PNG
and the result after conducting the same experiment with both projects: result.PNG
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list