Hi,
I just grabbed the latest copy of Eclipse 3.3.0 and Hibernate Tools 3.2.0.beta9a. To see how the generator worked, I just created a couple of POJOs in a project and the hibernate.cfg.xml. Then I went to the "Hibernate Code Generation..." wizard. So, what I want is the hbm.xml files that correspond to my 2 POJOs. So, I select a console configuration, select an existing output directory, and then check "Hibernate XML Mapping (.hbm.xml)" under the Exporters tab. When I click the "Run" button, nothing happens; nothing gets generated. When I try the "Hibernate XML Configuration (cfg.xml)" exporter instead, it copies my existing hibernate.cfg.xml to the output directory, so it does look like I have it configured somewhat correctly. I just can't get it to generate the hbm.xml files for me.
Nothing shows up in the hibernate error log in Eclipse either...
Any ideas about what I'm doing wrong?
Kevin
|