Discussion:
[Xdoclet-user] webdoclet problem with annotation
Markus Innerebner
2006-10-31 18:09:25 UTC
Permalink
Hello,

I switched the jdk from 1.4 to 5.0 and in my code I added the Java
Annotation (i.e. deprecated).
After that modification I am not able to launch my webdoclet ant task
anymore.
That problem was related to the java 1.5 annotations. So I am asking you,
what do I need to change to let the webdoclet process work again
correctly. Do I need any special library, which in version 1.4 was not
necessary?

The error is the following:
[webdoclet] Error parsing File ....../LayerLegendUtil.java:Lexical
error: xjavadoc.TokenMgrError: Lexical error at line 100, column 3.
Encountered: "@" (64), after : ""

thanks for any help


Markus
Matt Raible
2006-10-31 17:18:57 UTC
Permalink
You need a new version of xjavadoc.jar.

http://www.google.com/search?q=xjavadoc+1.5

You could use the one from AppFuse.

http://fisheye4.cenqua.com/browse/~raw,r=1274/appfuse/trunk/lib/xdoclet-1.3-SNAPSHOT/xjavadoc-1.1.jar

Matt
Post by Markus Innerebner
Hello,
I switched the jdk from 1.4 to 5.0 and in my code I added the Java
Annotation (i.e. deprecated).
After that modification I am not able to launch my webdoclet ant task
anymore.
That problem was related to the java 1.5 annotations. So I am asking you,
what do I need to change to let the webdoclet process work again
correctly. Do I need any special library, which in version 1.4 was not
necessary?
[webdoclet] Error parsing File ....../LayerLegendUtil.java:Lexical
error: xjavadoc.TokenMgrError: Lexical error at line 100, column 3.
thanks for any help
Markus
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
xdoclet-user mailing list
https://lists.sourceforge.net/lists/listinfo/xdoclet-user
--
http://raibledesigns.com
Glaucio Scheibel
2006-10-31 17:30:57 UTC
Permalink
You have to update the xjavadoc.jar in the lib directory. Just download
at this link:

http://sourceforge.net/project/showfiles.php?group_id=31602

Glaucio
Post by Markus Innerebner
Hello,
I switched the jdk from 1.4 to 5.0 and in my code I added the Java
Annotation (i.e. deprecated).
After that modification I am not able to launch my webdoclet ant task
anymore.
That problem was related to the java 1.5 annotations. So I am asking you,
what do I need to change to let the webdoclet process work again
correctly. Do I need any special library, which in version 1.4 was not
necessary?
[webdoclet] Error parsing File ....../LayerLegendUtil.java:Lexical
error: xjavadoc.TokenMgrError: Lexical error at line 100, column 3.
thanks for any help
Markus
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
xdoclet-user mailing list
https://lists.sourceforge.net/lists/listinfo/xdoclet-user
Markus Innerebner
2006-11-01 11:20:39 UTC
Permalink
After updating that jar the error message disappear.

Thank you very much for that advise.

Markus

Loading...