Hello,
I use Xdoclet 1.2.0 (Beta 1).
My source file for an EJB has the following form:
-------------------------------------------
/*
* <header>
*/
<package>
<imports>
/**
*
* @ejb.bean <xdoclet tags>
*
*/
public class TestBean implements SessionBean {
...
bean methods
} // end of the TestBean class
-------------------------------------------
The important point is, that there is no
<new-line> after the last comment at the end
of the file ("// end of the TestBean class").
When I try to process such a bean with XDoclet
(the <deploymentdescriptor> task), I get a lexical
error:
Running <deploymentdescriptor/>
Error parsing TestBean.java:Lexical error at line X, column Y.
Encountered: <EOF> after : ""
The row and column coordinates (X,Y) always point
to the position just after the last comment.
When I add a <new-line> at the end of the file,
the problem disappears.
mp.
-------------------------------------------------------
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user