The following comment has been added to this issue:
Author: Andrew Stevens
Created: Thu, 16 Sep 2004 7:53 PM
Body:
>1) HibernateDocletTask needs the ability to add JAR files to its
>classpath. Currently it generates mapping files from source-code in the
>main application, but that source-code refers to classes found within
>the library JAR. HibernateDocletTask then complains about not being
>able to locate those classes and assuming that they lie within the same
>package.
Try importing those classes individually (not with "import foo.*;") or using fully
qualified names when you reference them, and xjavadoc should then be able to locate
them.
---------------------------------------------------------------------
View this comment:
http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1064?page=comments#action_14868
---------------------------------------------------------------------
View the issue:
http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1064
Here is an overview of the issue:
---------------------------------------------------------------------
Key: XDT-1064
Summary: Ability to generate mapping files from JAR files
Type: Improvement
Status: Open
Priority: Major
Original Estimate: 1 day
Time Spent: Unknown
Remaining: 1 day
Project: XDoclet
Components:
Hibernate Module
Versions:
1.2.1
Assignee: xdoclet-devel (Use for new issues)
Reporter: Gili
Created: Sat, 11 Sep 2004 10:28 PM
Updated: Thu, 16 Sep 2004 7:53 PM
Description:
Currently the hibernate mapping file generator requires one to specify *.java files to
be processed. However sometimes one wishes to generate mapping files from classes that
are found inside a JAR file. For example, instead of class files being found in
web-inf/classes, they are found in web-inf/lib/someFile.jar
For classes that are shared across applications (in the form of JARs) it makes it
impossible to generate mapping files without maintaining clones of the same file, one
per webapp, but this makes it hard to maintain.
---------------------------------------------------------------------
JIRA INFORMATION:
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
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel