Commit | Line | Data |
---|---|---|
9ad3c628 AM |
1 | This file describes how to build the CTF Java parser files. They are stored in |
2 | the git repository (to avoid additional compile-time dependencies), but if you | |
3 | do modify the .g files in src/, you should rebuild the resulting .java files and | |
4 | commit them. | |
47e50160 | 5 | |
9ad3c628 AM |
6 | To rebuild the parser files, run Maven with the "ctf-grammar" profile, as such: |
7 | $ mvn clean install -Pctf-grammar | |
47e50160 | 8 | |
9ad3c628 AM |
9 | Alternatively, you can also run the "generate-grammar.sh" script to regenerate |
10 | the parser files. That script requires "antlr3" to be installed on the system. | |
47e50160 | 11 |