Discussion:
[Xdoclet-devel] [XDoclet-JIRA] Created: (XJD-78) Parser Exception on Java 1.5 Formal Argument Level annotation (SimpleParser.formalArguments())
Guy (JIRA)
2008-02-12 09:26:18 UTC
Permalink
Parser Exception on Java 1.5 Formal Argument Level annotation (SimpleParser.formalArguments())
-------------------------------------------------------------------------------------------------

Key: XJD-78
URL: http://opensource.atlassian.com/projects/xdoclet/browse/XJD-78
Project: XJavaDoc
Issue Type: Bug
Components: Parser
Affects Versions: 1.5
Environment: Myeclipse 6.1. GA using Sun Jre 1.5_12
Reporter: Guy
Assignee: xdoclet-devel (Use for new issues)


Hi,
I have come across a problem I cannot seem to solve and would appreciate any input at this stage.

It seems that parameter level java annotations defined in a class which is parsed by xdoclet raises a parse error in xdoclet
so far in the 'deploymentdescriptor' and all ejb home interface tasks

here is a method example:

public String performTest1(@Input(type=java.sql.Types.NUMERIC) String sArg1) {}

and an error message one:

'Error parsing File TestCase1.java:Parse error at line 14, column 36. Encountered: @'

I am however using method level annotations successfully.



Any help would be appreciated,
thanks in advance
--
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
Jon Schewe (JIRA)
2010-02-20 22:57:03 UTC
Permalink
[ http://opensource.atlassian.com/projects/xdoclet/browse/XJD-78?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17921#action_17921 ]

Jon Schewe commented on XJD-78:
-------------------------------

Is this perhaps the same as ticket:XJD-64?
Post by Guy (JIRA)
Parser Exception on Java 1.5 Formal Argument Level annotation (SimpleParser.formalArguments())
-------------------------------------------------------------------------------------------------
Key: XJD-78
URL: http://opensource.atlassian.com/projects/xdoclet/browse/XJD-78
Project: XJavaDoc
Issue Type: Bug
Components: Parser
Affects Versions: 1.5
Environment: Myeclipse 6.1. GA using Sun Jre 1.5_12
Reporter: Guy
Assignee: xdoclet-devel (Use for new issues)
Hi,
I have come across a problem I cannot seem to solve and would appreciate any input at this stage.
It seems that parameter level java annotations defined in a class which is parsed by xdoclet raises a parse error in xdoclet
so far in the 'deploymentdescriptor' and all ejb home interface tasks
I am however using method level annotations successfully.
Any help would be appreciated,
thanks in advance
--
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
Loading...