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: Help: Using HibernateDocletTask on JAR files
PostPosted: Sat Sep 11, 2004 6:41 pm 
Senior
Senior

Joined: Tue Mar 02, 2004 6:17 pm
Posts: 151
Hi,

I'm using the Ant task "hibernate.doclet" to generate mapping files. Unfortunately some of the class files refer to other class files are contained within a JAR file (web-inf/lib) and the xdoclet plugin doesn't seem to pick it up. When I run it I get the following message:

INFO: Some classes refer to other classes that were not found among the sources or on the classpath.
(Perhaps the referred class doesn't exist? Hasn't been generated yet?)
The referring classes do not import any fully qualified classes matching these classes.
However, since no packages are imported, xjavadoc has assumed that the referred classes
belong to the same package as the referring class. The classes are:
<class A> --> <class B> qualified to <fully qualified class B>



How does one tell the xdoclet mapping file generator to add a JAR file to its classpath so it knows where to find the aformentioned class file? Should I file a RFE for this?

Thanks,
Gili


Top
 Profile  
 
 Post subject:
PostPosted: Mon Sep 13, 2004 8:46 pm 
Senior
Senior

Joined: Tue Nov 25, 2003 9:35 am
Posts: 194
Location: San Francisco
Hibernatedoclet works off the Java source, not the classes in JARs. What you are asking for is not possible.


Sherman


Top
 Profile  
 
 Post subject:
PostPosted: Mon Sep 13, 2004 10:08 pm 
Senior
Senior

Joined: Tue Mar 02, 2004 6:17 pm
Posts: 151
sgwood wrote:
Hibernatedoclet works off the Java source, not the classes in JARs. What you are asking for is not possible.


Sherman


Good point!

Thanks for clearing things up :)
Gili


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.