The following comment has been added to this issue:

     Author: Andy DePue
    Created: Fri, 29 Oct 2004 5:39 PM
       Body:
OK, here's a workaround idea (though I know nothing about XDoclet).  There has got to 
be an InputStream or Reader involved somewhere in the process of XDoclet reading the 
Java source to parse it... so, if we Just had some Java code that could strip generics 
enough to make the XDoclet parser happy, and we could somehow incorporate this Java 
code into a InputStream/Reader filter (wrapper/decorator/whatever term you want to 
use), then it could possibly be a case of simply wrapping the InputStream/Reader 
before handing it off to the parser... So, the tricks would be:
1. Java code that can strip generics in the form of an InputStream/Reader filter.
2. Enough knowledge of XDoclet source to know how to interpose this filter before 
handing the stream off to XDoclet.
This is basically the same general concept as the copy-all-your-source-and-regex-it 
idea above, except you don't have to copy all your source (it becomes more efficient 
as we can avoid invoking the OS and the slow disk IO).
Unfortunately, I don't have time to accomplish either of these. :-(


---------------------------------------------------------------------
View this comment:
  
http://opensource.atlassian.com/projects/xdoclet/browse/XJD-41?page=comments#action_15185

---------------------------------------------------------------------
View the issue:
  http://opensource.atlassian.com/projects/xdoclet/browse/XJD-41

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XJD-41
    Summary: Support Java 1.5 Syntax ?
       Type: Improvement

     Status: Open
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: XJavaDoc
 Components: 
             Parser
   Fix Fors:
             1.2
   Versions:
             1.0.2

   Assignee: xdoclet-devel (Use for new issues)
   Reporter: Hao Chen

    Created: Mon, 1 Mar 2004 9:11 AM
    Updated: Fri, 29 Oct 2004 5:39 PM

Description:
Is there any plan to upgrade the parser to support Java 1.5 syntax?


---------------------------------------------------------------------
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:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to