The following comment has been added to this issue:
Author: Andrew Stevens
Created: Thu, 16 Sep 2004 7:35 PM
Body:
Not just webdoclet, all subtasks will behave the same way. It has to do with xjavadoc
(the parser) ignoring classes that aren't in the correct package. If the package
hierarchy doesn't match the directory structure of the fileset, it skips the files
without warning. I guess using this form of fileset doesn't set the fileset's root
directory as xjavadoc needs.
The example used in the docs (in using.html) does use
<fileset dir="${java.dir}">
<include name="**/*Bean.java"/>
</fileset>
but I guess it could be clearer about why it must be done this way. I'll reassign
this as a Documentation issue. There's already an open issue for xjavadoc to print up
a warning (XJD-23).
---------------------------------------------------------------------
View this comment:
http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1067?page=comments#action_14866
---------------------------------------------------------------------
View the issue:
http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1067
Here is an overview of the issue:
---------------------------------------------------------------------
Key: XDT-1067
Summary: webdoclet does not handle all types of "fileset"
Type: Bug
Status: Open
Priority: Major
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: XDoclet
Components:
Documentation
Versions:
1.2.1
Assignee: xdoclet-devel (Use for new issues)
Reporter: Jim Brownfield
Created: Mon, 13 Sep 2004 5:45 PM
Updated: Thu, 16 Sep 2004 7:35 PM
Environment: $ uname -a
Linux xxx.xxx.xxx 2.4.3-20mdk #1 Sun Apr 15 23:03:10 CEST 2001 i686 unknown unknown
GNU/Linux
]$ java -version
java version "1.3.1"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1-b24)
Java HotSpot(TM) Client VM (build 1.3.1-b24, mixed mode)
Description:
A fileset included as a subtask in webdoclet as follows:
<webdoclet destDir="${archive_working_area}"
excludedtags="@version,@author"
verbose="true">
<deploymentDescriptor sessiontimeout="300"
distributable="false"
/>
<fileset file="${src}/xxx/xxx/xxx/xxx/MyClass.java"/>
</webdoclet>
...will not give any errors, but it will not output any servlet information in the
web.xml file. If this is the desired action, then it should at least be documented as
it is very difficult to determine the problem. Including a "dir" and an "<include>"
in the fileset works around this problem.
---------------------------------------------------------------------
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