diff options
author | Raphael Moll <ralf@android.com> | 2011-05-05 11:20:26 -0700 |
---|---|---|
committer | Raphael Moll <ralf@android.com> | 2011-05-05 11:20:26 -0700 |
commit | 9cc8ad3950427ef751e8ff6c5c8de00910f0789d (patch) | |
tree | 1ff241953ecff5742c92d3bbb937fa4c3badbe44 /hierarchyviewer2/app | |
parent | 38d97f3b67fc379107a423eb507b46665556731b (diff) | |
download | sdk-9cc8ad3950427ef751e8ff6c5c8de00910f0789d.zip sdk-9cc8ad3950427ef751e8ff6c5c8de00910f0789d.tar.gz sdk-9cc8ad3950427ef751e8ff6c5c8de00910f0789d.tar.bz2 |
Fix launchers for SDK tools using swtmenubar.
Change-Id: Iba5860db0a56ab508d1ce155d0e079ab37eb2bc9
Diffstat (limited to 'hierarchyviewer2/app')
-rwxr-xr-x | hierarchyviewer2/app/etc/hierarchyviewer | 8 | ||||
-rwxr-xr-x | hierarchyviewer2/app/etc/hierarchyviewer.bat | 2 |
2 files changed, 7 insertions, 3 deletions
diff --git a/hierarchyviewer2/app/etc/hierarchyviewer b/hierarchyviewer2/app/etc/hierarchyviewer index 9f31701..82304dc 100755 --- a/hierarchyviewer2/app/etc/hierarchyviewer +++ b/hierarchyviewer2/app/etc/hierarchyviewer @@ -76,7 +76,7 @@ if [ `uname` = "Linux" ]; then export GDK_NATIVE_WINDOWS=true fi -jarpath="$frameworkdir/$jarfile" +jarpath="$frameworkdir/$jarfile:$frameworkdir/swtmenubar.jar" # Figure out the path to the swt.jar for the current architecture. # if ANDROID_SWT is defined, then just use this. @@ -103,4 +103,8 @@ fi # need to use "java.ext.dirs" because "-jar" causes classpath to be ignored # might need more memory, e.g. -Xmx128M -exec "$javaCmd" -Xmx512M $os_opts $java_debug -Dcom.android.hierarchyviewer.bindir="$progdir" -classpath "$jarpath:$swtpath/swt.jar" com.android.hierarchyviewer.HierarchyViewerApplication "$@" +exec "$javaCmd" \ + -Xmx512M $os_opts $java_debug \ + -Dcom.android.hierarchyviewer.bindir="$progdir" \ + -classpath "$jarpath:$swtpath/swt.jar" \ + com.android.hierarchyviewer.HierarchyViewerApplication "$@" diff --git a/hierarchyviewer2/app/etc/hierarchyviewer.bat b/hierarchyviewer2/app/etc/hierarchyviewer.bat index 0876d2f..8a14957 100755 --- a/hierarchyviewer2/app/etc/hierarchyviewer.bat +++ b/hierarchyviewer2/app/etc/hierarchyviewer.bat @@ -49,7 +49,7 @@ if debug NEQ "%1" goto NoDebug shift 1
:NoDebug
-set jarpath=%frameworkdir%%jarfile%;%frameworkdir%hierarchyviewerlib.jar
+set jarpath=%frameworkdir%%jarfile%;%frameworkdir%hierarchyviewerlib.jar;%frameworkdir%swtmenubar.jar
if not defined ANDROID_SWT goto QueryArch
set swt_path=%ANDROID_SWT%
|