OLD | NEW |
---|---|
(Empty) | |
1 @echo off | |
2 rem Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | |
3 rem for details. All rights reserved. Use of this source code is governed by a | |
4 rem BSD-style license that can be found in the LICENSE file. | |
5 rem | |
6 | |
7 rem This file is used to execute the analyzer by running the jar file | |
8 rem It is a simple wrapper enabling us to have simpler command lines in | |
9 rem the testing infrastructure. | |
10 | |
11 set SCRIPTPATH=%~dp0 | |
12 | |
13 rem Does the path have a trailing slash? If so, remove it. | |
14 if %SCRIPTPATH:~-1%== set SCRIPTPATH=%SCRIPTPATH:~0,-1% | |
ahe
2013/03/12 15:47:04
This reminds me. I think there is a cut-and-paste
ricow1
2013/03/12 18:08:40
Yes, thanks
| |
15 | |
16 rem DART_CONFIGURATION defaults to ReleaseIA32 | |
17 if "%DART_CONFIGURATION%"=="" set DART_CONFIGURATION=ReleaseIA32 | |
18 | |
19 set arguments=%* | |
20 | |
21 set "JAR_DIR=%SCRIPTPATH%\..\..\build\%DART_CONFIGURATION%\new_analyzer" | |
22 | |
23 set "JAR_FILE=%JAR_DIR%\new_analyzer.jar" | |
24 | |
25 java -jar %JAR_FILE% %arguments%" | |
OLD | NEW |