Commit | Line | Data |
---|---|---|
46d9e9bb | 1 | #!/bin/bash |
61dfcb35 AM |
2 | #******************************************************************************* |
3 | # Copyright (c) 2012, 2013 Ericsson | |
4 | # | |
5 | # All rights reserved. This program and the accompanying materials | |
6 | # are made available under the terms of the Eclipse Public License v1.0 | |
7 | # which accompanies this distribution, and is available at | |
8 | # http://www.eclipse.org/legal/epl-v10.html | |
9 | # | |
10 | # Contributors: | |
11 | # Alexandre Montplaisir - Initial version | |
12 | #******************************************************************************* | |
46d9e9bb AM |
13 | |
14 | # If you do not have (or do not feel like setting up) Maven, but you have Antlr3 | |
15 | # installed on your system, you can use this script to generate the Java CTF | |
16 | # parser files. | |
17 | ||
18 | SRC=src/main/antlr3/org/eclipse/linuxtools/ctf/parser | |
19 | DEST=target/generated-sources/antlr3/org/eclipse/linuxtools/ctf/parser | |
20 | ||
21 | antlr3 $SRC/CTFLexer.g -fo $DEST | |
22 | antlr3 $SRC/CTFParser.g -fo $DEST |