The following issue has been updated:

    Updater: Anton Adamansky (mailto:[EMAIL PROTECTED])
       Date: Sat, 13 Nov 2004 4:37 AM
    Comment:
Here is the fixed version of XJavadoc which can successfully deals with new 
java 1.5 language syntax.

I'm currently working on one big project (based on java 1.5) and I've been very 
disappointed with XDoclet inability 
to work with Tiger syntax, so I've permitted oneself to spend a few days in 
order to make serious 
effort in resolving of this scary problem.

1) The old java 1.2 grammar was completely replaced with new java 1.5 (was 
taken on javacc.dev.java.net) 
   
2) then i've carefully merged XJavaDoc java building routines with new syntax 
in Java1.5-xjd.jjt (it was tiresome work :))
   (in order to build java parser javacc-3.2 was used) 
         
3) tested with all junit test in xjavadoc and with light java 1.5 test + 
   tested in real world application with using java 1.5 & xdoclet & hibernate 
tags.

files:
        /xjavadoc-1.1-j5.jar - complete binary build of xjavadoc with java 1.5 
support 
        (in order to use XDoclet with Tiger you should replace old xjavadoc.jar 
with xjavadoc-1.1-j5.jar)

        Affected sources:
        /afsrc//test/ - simple test routines
        /afsrc/Java1.5-xjd.jjt - javacc & xjavadoc parser template - the 
replacement of old - Java1.2-b.jjt 
        /afsrc/Token.java - generated javacc Token.java - should be replaced 
with this file
        
limitation:

        enums - are completelly ignored by xjavadoc (also in XDoclets enums is 
not sipported)

Hope it helps you with xdoclet & java 1.5  
                                                     Adamansky Anton. 

    Changes:
             Attachment changed to xjavadoc-1.1-j5.zip
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://opensource.atlassian.com/projects/xdoclet/browse/XJD-41?page=history

---------------------------------------------------------------------
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: Sat, 13 Nov 2004 4:37 AM

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: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
_______________________________________________
xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to