Discussion:
[Xdoclet-devel] [XDoclet-JIRA] Created: (XDT-1704) Xdoclet generates hbm that refers to http://hibernate.sourceforge.net instead of
JFoundation (JIRA)
2011-06-06 09:15:43 UTC
Permalink
Xdoclet generates hbm that refers to http://hibernate.sourceforge.net instead of http://www.hibernate.org/dtd/
--------------------------------------------------------------------------------------------------------------

Key: XDT-1704
URL: http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1704
Project: XDoclet
Issue Type: Bug
Components: Hibernate Module
Environment: JBoss 5, hibernate 3.6
Reporter: JFoundation
Assignee: xdoclet-devel (Use for new issues)
Priority: Minor


Hi,
I am trying to deploy my application on Jboss 5. My application has .hbm files generated using xdoclets. On deploying I can see the below errors in the log -

08:43:36,206 WARN [DTDEntityResolver] recognized obsolete hibernate namespace http://hibernate.sourceforge.net/. Use namespace http://www.hibernate.org/dtd/ instead. Refer to Hibernate 3.6 Migration Guide!

I have set the version of the hibernate to 3 in the pom.xml. My plugin is as below -
<plugin>
<artifactId>xdoclet-maven-plugin</artifactId>
<groupId>org.codehaus.mojo</groupId>
<version>1.0-alpha-2</version>
<executions>
<execution>
<phase>generate-sources</phase>
<configuration>
<tasks>
<echo>Running Hibernate XDoclet...</echo>
<mkdir dir="${maven.xdoclet.hibernatedoclet.destDir}"/>
<hibernatedoclet destdir="${maven.xdoclet.hibernatedoclet.destDir}" excludedtags="@version,@author,@todo" verbose="false">
<fileset dir="${maven.xdoclet.ejbdoclet.srcDir}">
<include name="**/*.java"/>
</fileset>
<hibernate destdir="${maven.xdoclet.hibernatedoclet.destDir}" version="3"/>
</hibernatedoclet>
</tasks>
</configuration>
<goals>
<goal>xdoclet</goal>
</goals>
</execution>
</executions>
</plugin>

My question is how can I generate a hbm that refers to http://www.hibernate.org/dtd/ in the dtd instead of htttp://hibernate.sourceforge.net.

regards
Shirin
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/xdoclet/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
Loading...