-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 
Author Message
 Post subject: Maven, XDoclet and Hibernate 3
PostPosted: Mon Feb 13, 2006 1:28 pm 
Newbie

Joined: Tue Jul 12, 2005 9:04 am
Posts: 13
Hi guys...
Im using Maven 1.0.2 with maven-xdoclet-plugin 1.2 and Java 5.
This week im update hibernate version 2 to version 3, but this is causing me headache.
This error occurs:
Code:
   xjavadoc.XJavaDoc.getSourceClasses(ZZ)Ljava/util/Collection;

I know that is because a Java version. I was tried update the XJavaDoc Version like in this article, http://opensource2.atlassian.com/projec ... e=comments.

I think thats Maven is using a wrong version of the XDoclet, but i dont have shure...

Anyone can help-me? Somebody already had this error?

Ty for any help!

_________________
Elton Kuzniewski
http://www.eltonk.com.br


Top
 Profile  
 
 Post subject:
PostPosted: Mon Feb 13, 2006 8:24 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 7:19 pm
Posts: 2364
Location: Brisbane, Australia
You need to use a version of XDoclet that is aware of the Java5 syntax.
I believe the CVS version is fine and will be released as version 1.3.x series. In addition it has very good support for H3.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 14, 2006 7:22 am 
Newbie

Joined: Tue Jul 12, 2005 9:04 am
Posts: 13
Yesterday, I made more tests and I realy shure that error is because the Maven version (1.0.2) and maven-XDoclet-plugin... Today I will try using ant to make my xdoclets xml -hbm, etc...
At my computer, the XDoclet instaled its ok like the tutorial that i post link before. So, my problem is with Maven!
But, I realy need help to make Maven-XDocled run.
Ty David, I was try ur suggestion, but i think thats not my problem...

Anyone can help-me too?

_________________
Elton Kuzniewski
http://www.eltonk.com.br


Top
 Profile  
 
 Post subject:
PostPosted: Mon Sep 25, 2006 8:51 am 
Newbie

Joined: Tue Jul 12, 2005 9:04 am
Posts: 13
Hi !

The solution is change the xdoclet plugin at
$:>user/maven/plugin for this version "maven-xdoclet-plugin-1.2.3"

Ty guys!

That's all folks!

_________________
Elton Kuzniewski
http://www.eltonk.com.br


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.