ctf: Build ANTLR-generated files with Maven
[deliverable/tracecompass.git] / org.eclipse.linuxtools.ctf.parser / generate-grammar.sh
1 #!/bin/bash
2
3 # If you do not have (or do not feel like setting up) Maven, but you have Antlr3
4 # installed on your system, you can use this script to generate the Java CTF
5 # parser files.
6
7 SRC=src/main/antlr3/org/eclipse/linuxtools/ctf/parser
8 DEST=target/generated-sources/antlr3/org/eclipse/linuxtools/ctf/parser
9
10 antlr3 $SRC/CTFLexer.g -fo $DEST
11 antlr3 $SRC/CTFParser.g -fo $DEST
This page took 0.032517 seconds and 6 git commands to generate.