How can I use custom sources for some of the parser files?

If you have custom source files like a hand-crafted Token.java and want to use these files instead of the ones generated by JavaCC, simply put your custom sources next to the grammar file. The plugin will then copy your sources to the output directory such that they eventually make it onto your class path.

[top]