-->
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.  [ 3 posts ] 
Author Message
 Post subject: taskdef class xdoclet.modules.hibernate.HibernateDocletTask?
PostPosted: Sat Dec 20, 2003 9:14 am 
Regular
Regular

Joined: Tue Nov 04, 2003 12:37 pm
Posts: 57
Hello,

I used XDoclet to generate Hibernate mapping files with Maven.

It works very fine in XDoclet1.2b3-dev. after the XDoclet1.2 release, I changed to XDoclet1.2 and put the maven-xdoclet-plugin-1.2 into the specific directory.

When I call maven.bat, it just show:

Unable to obtain goal [football-dist] -- file:/C:/Documents and Settings/Eric/.maven/plugins/maven-xdoclet-plugin-1.2/:10255:99: <taskdef> taskdef class xdoclet.modules.hibernate.HibernateDocletTask cannot be found


I don't know what's the problem ????


Platform:
WinXP, JDK1.4.2, Maven-1.0-rc1, XDoclet1.2.


Eric


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 08, 2004 11:02 am 
Senior
Senior

Joined: Wed Aug 27, 2003 4:08 am
Posts: 178
Location: Wiesbaden, Germany
this mostly indicates that this clas could not be instantiated due to some forgotten dependency...

if you run ant in verbose mode, you have chance to find what is missing ( wading through endless classloader logs )


Top
 Profile  
 
 Post subject: xjavadoc dependency
PostPosted: Mon Apr 24, 2006 1:02 pm 
Newbie

Joined: Tue Apr 18, 2006 4:54 am
Posts: 9
I came across the same problem - using xdeoclet 1.2.3, and I have found that adding the following dependencies to my project help

<dependencies>
<dependency>
<groupId>xdoclet</groupId>
<artifactId>maven-xdoclet-plugin</artifactId>
<version>1.2</version>
<type>jar</type>
</dependency>
<dependency>
<groupId>xdoclet</groupId>
<artifactId>xdoclet-hibernate-module</artifactId>
<version>1.2.3</version>
<type>jar</type>
</dependency>
<dependency>
<groupId>xdoclet</groupId>
<artifactId>xdoclet</artifactId>
<version>1.2.3</version>
<type>jar</type>
</dependency>
<dependency>
<groupId>xdoclet</groupId>
<artifactId>xjavadoc</artifactId>
<version>1.1</version>
<type>jar</type>
</dependency>
</dependencies>


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 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.