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

Unified Diff: sdk/bin/dartanalyzer_developer.bat

Issue 668743003: Clean up scripts to run Java-based analyzer. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sdk/bin/dartanalyzer_developer ('k') | sdk/bin/dartanalyzer_java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/bin/dartanalyzer_developer.bat
diff --git a/sdk/bin/dartanalyzer_developer.bat b/sdk/bin/dartanalyzer_developer.bat
index fcea2aa6ee379ebe0c24dbfa7f0cf57f2a8f7dff..b560fe8d3c096d99fd17044d8e4eedd5e3f96908 100644
--- a/sdk/bin/dartanalyzer_developer.bat
+++ b/sdk/bin/dartanalyzer_developer.bat
@@ -1,27 +1,10 @@
@echo off
-rem Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
-rem for details. All rights reserved. Use of this source code is governed by a
-rem BSD-style license that can be found in the LICENSE file.
-rem
-
-rem This file is used to execute the analyzer by running the jar file.
-rem It is a simple wrapper enabling us to have simpler command lines in
-rem the testing infrastructure.
-
-set SCRIPTPATH=%~dp0
-
-rem Does the path have a trailing slash? If so, remove it.
-if %SCRIPTPATH:~-1%==\ set SCRIPTPATH=%SCRIPTPATH:~0,-1%
-
-rem DART_CONFIGURATION defaults to ReleaseIA32
-if "%DART_CONFIGURATION%"=="" set DART_CONFIGURATION=ReleaseIA32
-
-set arguments=%*
-
-set "SDK_DIR=%SCRIPTPATH%\..\..\build\%DART_CONFIGURATION%\dart-sdk"
-
-set "JAR_DIR=%SCRIPTPATH%\..\..\build\%DART_CONFIGURATION%\dartanalyzer"
-
-set "JAR_FILE=%JAR_DIR%\dartanalyzer.jar"
-
-java -jar "%JAR_FILE%" --dart-sdk "%SDK_DIR%" %arguments%
+REM Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
+REM for details. All rights reserved. Use of this source code is governed by a
+REM BSD-style license that can be found in the LICENSE file.
+
+setlocal
+set DARTANALYZER_DEVELOPER_MODE=1
+call "%~dp0dartanalyzer.bat" %*
+endlocal
+exit /b %errorlevel%
« no previous file with comments | « sdk/bin/dartanalyzer_developer ('k') | sdk/bin/dartanalyzer_java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698