1Imported Grammar Files 2 3 In order to have the ANTLR plugin automatically locate and use grammars used 4 as imports in your main .g files, you need to place the imported grammar 5 files in the imports directory beneath the root directory of your grammar 6 files (which is <<<src/main/antlr3>>> by default of course). 7 8 For a default layout, place your import grammars in the directory: <<<src/main/antlr3/imports>>> 9