[antlr-interest] Help in using antlr

Johannes Luber jaluber at gmx.de
Wed Oct 17 10:52:36 PDT 2007


H. Wan wrote:
> 2. In the same case as (1), apparently antlr generates
> the source file in the same directory as the .g file.
> However, the java source file should go to a
> subdirectory xxx.  How can I tell antlr where to put
> the generated files?

Depends on the way, how you call ANTLR. If you do it directly, use the
-o option, if you use ANTLRworks, then change the preferences.

Johannes


More information about the antlr-interest mailing list