I'm working on some Ant subtasks (which will likely involve a wrapper task too) under my local xdoclet source tree in the apache module. The goal is for it to become the way to generate task "descriptors" that will be suitable for enhancing Ant to have a more easily pluggable nature, as well as, of course,
to generate documentation (Appendix E of Java Development with Ant was 100% generated by XDoclet using the code in Ant's proposal/xdocs directory, which I'm migrating to the new 1.2 API).

I've come across an issue:

[xdoclet] Error parsing File /Users/erik/dev/jakarta/jakarta-ant/src/main/org/apache/tools/ant/ listener/AnsiColorLogger.java:Lexical error: xjavadoc.TokenMgrError: Lexical error at line 163, column 44. Encountered: "u" (117), after : "\"\\"
[xdoclet] Error parsing File /Users/erik/dev/jakarta/jakarta-ant/src/main/org/apache/tools/ant/ taskdefs/FixCRLF.java:Lexical error: xjavadoc.TokenMgrError: Lexical error at line 146, column 41. Encountered: "u" (117), after : "\'\\"

Is the parser broken in this regard? Both classes have the \u syntax.

FixCRLF:
private static final char CTRLZ = '\u001A';

AnsiColorLogger:
private static final String PREFIX = "\u001b[";

This code compiles and runs fine, so I'm assuming the parser is broken. Shall I open a JIRA issue?

Thanks,
Erik



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to