I changed the relevant code, compiled my own version and now it works. I didn't want to change my packages :-)
But I file the issues for the other points mentioned anyway.
Cheers Leander
Maczka Michal schrieb:
-----Original Message----- From: M.-Leander Reimer [mailto:[EMAIL PROTECTED] Sent: Thursday, December 16, 2004 11:27 AM To: Maven Users List Subject: Problems with JavaCC plugin
Hi,
I have the following comments and problems with the JavaCC plugin:
- Bug: I want to generate my parser files into the following package structure: de.adaptions.emp.webcontainer.util
Everything generates fine, but when it comes to compiling the generated sources, I get an error like
illegal unicode escape
/* Generated By:JJTree: ... webapp\target\generated-src\main\java\de\adaptions\emp\webcont
ainer\util
\parser\TextFormatParserTreeConstants.java */
It's the \u (the u from util) which it complains about.
I tried setting the undocument properties (found them in the jelly script) "maven.javacc.javacc.header" and "maven.javacc.jjtree.header" but it doesn't have any effect on the generated sources.
- Comment: The properties section in the plugin documentation is incorrect or incomplete, e.g. the properties for "maven.javacc.javacc.target.dir" and "maven.javacc.jtree.target.dir" are not used at all, and the header properties are missing.
What can I do to solve problem 1? Any suggestions?
Quick workaround is to generate your parser into the package which doesn't have any segment which name starts with "u"...
IN you case if you can switch from de\adaptions\emp\webcontainer\util\parser
to
de\adaptions\emp\webcontainer\tool\parser or de\adaptions\emp\webcontainer\parser
it will probably work...
Should I file Jira issues for the problems mentioned?
yes
Michal
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
