I'm using ANTLRWorks, and have specified my java package using the @header action:
@header {package com.xxx.xxx.xxx.compiler}
However, when I generate the java code, it is generated to the root src directory rather than src/com/xxx/xxx/xxx/compiler. Consequently, it does not compile cleanly.
How do I specify the correct directory to generate code to?