facebook

Xdoclet and Sun Target(ElementType.PARAMETER) annotations

  1. MyEclipse IDE
  2.  > 
  3. Off Topic
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #280721 Reply

    sg9ae
    Member

    Hi,
    I have come across a problem I cannot seem to solve and would appreciate any input at this stage as I have wasted over a day on the subject.

    I have parameter level annotations defined in a class which is parsed by xdoclet and my aim is to transfer the formal argument list intact including the annotations to the xdoclet generated interface.

    here is a method example:

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

    Unfortnatellly, xdoclet is failing on the annotaion parsing with the following message:
    ‘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,
    Guy

    #280723 Reply

    Loyal Water
    Member

    Moving to Off Topic >> Software Development.

    #281073 Reply

    sg9ae
    Member

    If it helps narrowing down the problem, it error is in the ‘deploymentdescriptor’ ejb xdoclet task element

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Xdoclet and Sun Target(ElementType.PARAMETER) annotations

You must be logged in to post in the forum log in