diff options
author | Scott Barta <sbarta@google.com> | 2013-08-15 15:19:09 -0700 |
---|---|---|
committer | Scott Barta <sbarta@google.com> | 2013-08-15 15:19:09 -0700 |
commit | 7405017e91c15bbc58aa31cbd946091949d44490 (patch) | |
tree | 735ca3d90bd4fc7004500c10389efe1cc87b7851 /hierarchyviewer | |
parent | 6da9a761cd06c67a9c30534b4da2b8447aced5d0 (diff) | |
download | sdk-7405017e91c15bbc58aa31cbd946091949d44490.zip sdk-7405017e91c15bbc58aa31cbd946091949d44490.tar.gz sdk-7405017e91c15bbc58aa31cbd946091949d44490.tar.bz2 |
Support for installing SDK in C:\Program Files
Properly handles spaces in installation pathname on Windows.
Change-Id: I8bcfd18fddbe6d5ad70a8563e8696af2876c1d1b
Diffstat (limited to 'hierarchyviewer')
-rwxr-xr-x | hierarchyviewer/etc/hierarchyviewer1.bat | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/hierarchyviewer/etc/hierarchyviewer1.bat b/hierarchyviewer/etc/hierarchyviewer1.bat index 3f8c416..b4da06a 100755 --- a/hierarchyviewer/etc/hierarchyviewer1.bat +++ b/hierarchyviewer/etc/hierarchyviewer1.bat @@ -30,17 +30,17 @@ call lib\find_java.bat if not defined java_exe goto :EOF set jarfile=hierarchyviewer.jar -set frameworkdir= +set frameworkdir=. set libdir= -if exist %frameworkdir%%jarfile% goto JarFileOk - set frameworkdir=lib\ +if exist %frameworkdir%\%jarfile% goto JarFileOk + set frameworkdir=lib -if exist %frameworkdir%%jarfile% goto JarFileOk - set frameworkdir=..\framework\ +if exist %frameworkdir%\%jarfile% goto JarFileOk + set frameworkdir=..\framework :JarFileOk -set jarpath=%frameworkdir%%jarfile% +set jarpath=%frameworkdir%\%jarfile% -call %java_exe% -Xmx512m -Djava.ext.dirs=%frameworkdir% -Dhierarchyviewer.adb= -jar %jarpath% %* +call "%java_exe%" -Xmx512m "-Djava.ext.dirs=%frameworkdir%" -Dhierarchyviewer.adb= -jar %jarpath% %* |