46b62034ddcb090d9b8e5bd3e6671d0b66b3927f
[deliverable/tracecompass.git] / org.eclipse.linuxtools.ctf.parser / generate-grammar.sh
1 #!/bin/bash
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 #*******************************************************************************
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
This page took 0.035627 seconds and 4 git commands to generate.