Hello. I'm relatively new to Eclipse and Hibernate, so I appologize if should be able to sort this out myself.
I recently upgraded to Alpha 4 of hibernate tools from Alpha 2, and I'm having some issues. I'm using a fresh install of Eclipse 3.1RC1. Initially I had only the hibernate-tools plugin installed, although I've since installed JBoss IDE 1.5m1 and Eclipse WTP 0.7M4 (and it's dependencies) in the hope that it might correct some of my issues. This didn't seem to make a difference though.
Issue 1 - Ant Task
I have the following Ant task in my build.xml, which runs fine (even now) when I have alpha 2 hibernate-tools.jar in my project's libs directory. Replacing this with alpha 4 causes it to break.
The taskdef:
<taskdef name="hibernatetool" classname="org.hibernate.tool.ant.HibernateToolTask" classpathref="class.path" />
The task:
<target name="hibernate" depends="clean" description="Build Java files from HBM">
<hibernatetool destdir="${dir.src}" classpath="${dir.src}/mappings">
<configuration configurationfile="src/hibernate.cfg.xml" />
<hbm2java />
<hbm2ddl drop="false" />
</hibernatetool>
</target>
The error:
...ProjectPath\build.xml:46: org.hibernate.tool.hbm2x.ExporterException: Error while processing template pojo/javaclass.vm
Initially I only replaced hibernate-tools.jar. However, I've since copied the entire contents of eclipse\plugins\org.hibernate.eclipse_3.0.0.alpha4\lib into my project's lib directory, with no effect.
Issue 2 - Mapping Editor
The mapping editor plugin doesn't seem to be loading. Only the Core, Console, and Help plugins are showing up in "About Eclipse Platform Plugins", and I don't see anything that looks like a hibernate mapping plugin when I try to associate hbm files in File Associations.
I know this probably isn't enough information to tell me anything useful. What else should I be providing?
Finally, does Alpha 4 require JBoss IDE or not? The new and noteworthy notes led me to believe that it was using WTP now, and included all that was required. However, the page
http://www.hibernate.org/hib_docs/tools ... index.html says I need it.
Thank you very much.
Scott