Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(847)

Side by Side Diff: sdk/bin/dartanalyzer_developer.bat

Issue 291183002: Allow space in path in some dartanalyzer wrappers. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « sdk/bin/dartanalyzer_developer ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 @echo off 1 @echo off
2 rem Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 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 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. 4 rem BSD-style license that can be found in the LICENSE file.
5 rem 5 rem
6 6
7 rem This file is used to execute the analyzer by running the jar file. 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 8 rem It is a simple wrapper enabling us to have simpler command lines in
9 rem the testing infrastructure. 9 rem the testing infrastructure.
10 10
11 set SCRIPTPATH=%~dp0 11 set SCRIPTPATH=%~dp0
12 12
13 rem Does the path have a trailing slash? If so, remove it. 13 rem Does the path have a trailing slash? If so, remove it.
14 if %SCRIPTPATH:~-1%==\ set SCRIPTPATH=%SCRIPTPATH:~0,-1% 14 if %SCRIPTPATH:~-1%==\ set SCRIPTPATH=%SCRIPTPATH:~0,-1%
15 15
16 rem DART_CONFIGURATION defaults to ReleaseIA32 16 rem DART_CONFIGURATION defaults to ReleaseIA32
17 if "%DART_CONFIGURATION%"=="" set DART_CONFIGURATION=ReleaseIA32 17 if "%DART_CONFIGURATION%"=="" set DART_CONFIGURATION=ReleaseIA32
18 18
19 set arguments=%* 19 set arguments=%*
20 20
21 set "SDK_DIR=%SCRIPTPATH%\..\..\build\%DART_CONFIGURATION%\dart-sdk" 21 set "SDK_DIR=%SCRIPTPATH%\..\..\build\%DART_CONFIGURATION%\dart-sdk"
22 22
23 set "JAR_DIR=%SCRIPTPATH%\..\..\build\%DART_CONFIGURATION%\dartanalyzer" 23 set "JAR_DIR=%SCRIPTPATH%\..\..\build\%DART_CONFIGURATION%\dartanalyzer"
24 24
25 set "JAR_FILE=%JAR_DIR%\dartanalyzer.jar" 25 set "JAR_FILE=%JAR_DIR%\dartanalyzer.jar"
26 26
27 java -jar %JAR_FILE% --dart-sdk %SDK_DIR% %arguments% 27 java -jar "%JAR_FILE%" --dart-sdk "%SDK_DIR%" %arguments%
OLDNEW
« no previous file with comments | « sdk/bin/dartanalyzer_developer ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698