fredyvonvinet / ANTLR4-Plugins-for-NetBeans

NetBeans plugins for ANTLR 4 enabling to integrate ANTLR grammar files in standard NetBeans projects (ant-based or Maven-based).
9 stars 11 forks source link

antlr4 task does not force code generation #23

Closed fredyvonvinet closed 7 years ago

fredyvonvinet commented 7 years ago

When an ANTLR grammar source depends of a token file (options { tokenValue=? }) then if that token file is an artefact of code generation from another grammar and does not exist, we have to force code generation from the associated grammar for generating the token file.

When the token file is located in antlr.generator.dest.dir, it works. But when it is located in a subdirectory, it does not work.

fredyvonvinet commented 7 years ago

Solved