I don't know why this is happening, but you should exclude the generated
files from the <fileset> you pass to xdoclet. That should make the error go
away, since the (previously generated) file won't be parsed by xjavadoc.

Aslak

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Gwyn Evans
> Sent: 9. juli 2002 17:20
> To: [EMAIL PROTECTED]
> Subject: [Xdoclet-user] Data Object generation errors
>
>
> Hi,
>
>   Just came across an odd problem.
>
>   Every so often, I get the following when running the <dataobject/>
>   task. I've not got any problems with the 'source' file & can't track
>   down when this will appear or not, although the generated file is
>   fine & doesn't stop at line 27 at all!
>
>   Anyone got any ideas?
>
>
> [ejbdoclet] Running <dataobject/>
> [ejbdoclet] Generating Data Object class for
> 'com.xxxxxxxxxxxxxxxxxxxxxx.AdminSessionBean'.
> [ejbdoclet] Error parsing
> com.xxxxxxxxxxxxxxxxxxxxxx.AdminSessionData:Encountered "<EOF>"
> at line 27, column 1.
> [ejbdoclet] Was expecting one of:
> [ejbdoclet]     "abstract" ...
> [ejbdoclet]     "boolean" ...
> [ejbdoclet]     "byte" ...
> [ejbdoclet]     "char" ...
> [ejbdoclet]     "class" ...
> [ejbdoclet]     "double" ...
> [ejbdoclet]     "final" ...
> [ejbdoclet]     "float" ...
> [ejbdoclet]     "int" ...
> [ejbdoclet]     "interface" ...
> [ejbdoclet]     "long" ...
> [ejbdoclet]     "native" ...
> [ejbdoclet]     "private" ...
> [ejbdoclet]     "protected" ...
> [ejbdoclet]     "public" ...
> [ejbdoclet]     "short" ...
> [ejbdoclet]     "static" ...
> [ejbdoclet]     "synchronized" ...
> [ejbdoclet]     "transient" ...
> [ejbdoclet]     "void" ...
> [ejbdoclet]     "volatile" ...
> [ejbdoclet]     "strictfp" ...
> [ejbdoclet]     <IDENTIFIER> ...
> [ejbdoclet]     "{" ...
> [ejbdoclet]     "}" ...
> [ejbdoclet]
>
>
> --
> Best regards,
>  Gwyn                          mailto:[EMAIL PROTECTED]
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Stuff, things, and much much more.
> http://thinkgeek.com/sf
> _______________________________________________
> Xdoclet-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/xdoclet-user



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Stuff, things, and much much more.
http://thinkgeek.com/sf
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to