1@echo off
2
3setlocal
4
5IF "%ANTLR_HOME%" == "" SET ANTLR_HOME=%~d0%~p0..\..\..
6
7"%JAVA_HOME%\bin\java" ^
8    -Dfile.encoding=UTF-8 ^
9    -classpath "%ANTLR_HOME%\tool\target\classes;%ANTLR_HOME%\runtime\Java\target\classes;%ANTLR_HOME%\lib\antlr-3.0.jar;%ANTLR_HOME%\lib\antlr-2.7.7.jar;%ANTLR_HOME%\lib\stringtemplate-3.0.jar" ^
10    org.antlr.Tool ^
11    %*
12
13endlocal
14