diff options
author | Raphael Moll <ralf@android.com> | 2011-07-12 19:38:34 -0700 |
---|---|---|
committer | Android Code Review <code-review@android.com> | 2011-07-12 19:38:34 -0700 |
commit | a258fc31659fd9f60c443557cf85aa373dfc1714 (patch) | |
tree | 7060a901bbacc57ccebcd267a06b616e7a2fc6a8 /sdkmanager/app | |
parent | 76222044ba21bff3243c069acc401350bf417977 (diff) | |
parent | 0447f74bfd36d3c458f478fa637eee377f313f3f (diff) | |
download | sdk-a258fc31659fd9f60c443557cf85aa373dfc1714.zip sdk-a258fc31659fd9f60c443557cf85aa373dfc1714.tar.gz sdk-a258fc31659fd9f60c443557cf85aa373dfc1714.tar.bz2 |
Merge "Fix android.bat for Windows SDK."
Diffstat (limited to 'sdkmanager/app')
-rwxr-xr-x | sdkmanager/app/etc/android.bat | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sdkmanager/app/etc/android.bat b/sdkmanager/app/etc/android.bat index 0d83734..f616dd7 100755 --- a/sdkmanager/app/etc/android.bat +++ b/sdkmanager/app/etc/android.bat @@ -60,6 +60,7 @@ if not "%1"=="" goto EndTempCopy copy /B /D /Y lib\sdk* %tmp_dir%\lib\ > nul
copy /B /D /Y lib\common.jar %tmp_dir%\lib\ > nul
copy /B /D /Y lib\commons-compress* %tmp_dir%\lib\ > nul
+ copy /B /D /Y lib\swtmenubar.jar %tmp_dir%\lib\ > nul
rem jar_path and swt_path are relative to PWD so we don't need to adjust them, just change dirs.
set tools_dir=%cd%
@@ -77,6 +78,7 @@ if exist %swt_path% goto SetPath :SetPath
rem Finally exec the java program and end here.
-call %java_exe% -Dcom.android.sdkmanager.toolsdir="%tools_dir%" -Dcom.android.sdkmanager.workdir=%work_dir% -classpath "%jar_path%;%swt_path%\swt.jar" com.android.sdkmanager.Main %*
+REM set REMOTE_DEBUG=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000
+call %java_exe% %REMOTE_DEBUG% -Dcom.android.sdkmanager.toolsdir="%tools_dir%" -Dcom.android.sdkmanager.workdir=%work_dir% -classpath "%jar_path%;%swt_path%\swt.jar" com.android.sdkmanager.Main %*
rem EOF
|