aboutsummaryrefslogtreecommitdiffstats
path: root/sdkmanager/app
diff options
context:
space:
mode:
authorRaphael Moll <ralf@android.com>2011-07-07 07:40:06 -0400
committerRaphael Moll <ralf@android.com>2011-07-07 07:40:06 -0400
commit0447f74bfd36d3c458f478fa637eee377f313f3f (patch)
treebe00fe171150dab3a93dcf5544e90bdc8753c15e /sdkmanager/app
parent0d29a0ab359c2c97d208e909dc99aaa7a86bfe49 (diff)
downloadsdk-0447f74bfd36d3c458f478fa637eee377f313f3f.zip
sdk-0447f74bfd36d3c458f478fa637eee377f313f3f.tar.gz
sdk-0447f74bfd36d3c458f478fa637eee377f313f3f.tar.bz2
Fix android.bat for Windows SDK.
android.bat was not properly copying swtmenbar.jar to the temp folder, so it wasn't found at runtime. Also added some debug info wrapping the menu bar usage and a comment on how to remotely debug the swtmanager. Change-Id: Ibe3d4ad0534b0e276808a77a051ae279a315da06
Diffstat (limited to 'sdkmanager/app')
-rwxr-xr-xsdkmanager/app/etc/android.bat4
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