[ 
http://opensource.atlassian.com/projects/xdoclet/browse/XJD-64?page=comments#action_17183
 ] 

digifork commented on XJD-64:
-----------------------------

I just tried the latest CVS snapshot versions of xjavadoc 1.5 and xdoclet 1.3. 
I am trying to run xdoclet on the following code:

@SuppressWarnings("unused")
            PoolableConnectionFactory poolableConnectionFactory;

I get the following errors:

[webdoclet] Error parsing File DBConnection.java:Parse error at line 472, 
column 10.  Encountered: @
[springdoclet] Error parsing File DBConnection.java:Parse error at line 472, 
column 10.  Encountered: @

For some reason the springdoclet and webdoclet ant calls are ignoring my 
fileset which excludes this file; so in the meantime I will have to live with 
this error.

So, I would say this bug has been verified and is still outstanding.



> Unable to parse Java files with JDK5 anotated elements (@SuppressWarnings)
> --------------------------------------------------------------------------
>
>          Key: XJD-64
>          URL: http://opensource.atlassian.com/projects/xdoclet/browse/XJD-64
>      Project: XJavaDoc
>         Type: Bug
>   Components: Parser
>     Reporter: Darryl Miles
>     Assignee: xdoclet-devel (Use for new issues)

>
>
> Java5 supports a feature in the language called "Java Annotations".
> XDoclet should accept them and ignore without throwing out the file as an 
> error.
> An example annotation:
> @SuppressWarnings("serial")
> Possibly Helpful Supporting Specification Documents:
> http://java.sun.com/j2se/1.5.0/docs/api/java/lang/SuppressWarnings.html

-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
xdoclet-devel mailing list
xdoclet-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to