Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add windows client courtesy of Chip. [HHQ-2812]
- Loading branch information
Ryan Morgan
committed
May 21, 2009
1 parent
100c5c0
commit 6ed3ef6
Showing
2 changed files
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
@echo off | ||
|
||
setLocal EnableDelayedExpansion | ||
set CLASSPATH=" | ||
for /R ..\ %%a in (*.jar) do ( | ||
set CLASSPATH=!CLASSPATH!;%%a | ||
) | ||
set CLASSPATH=!CLASSPATH!" | ||
|
||
set _JAVACMD=%JAVACMD% | ||
|
||
if "%JAVA_HOME%" == "" goto noJavaHome | ||
if not exist "%JAVA_HOME%\bin\java.exe" goto noJavaHome | ||
if "%_JAVACMD%" == "" set _JAVACMD=%JAVA_HOME%\bin\java.exe | ||
|
||
:noJavaHome | ||
if "%_JAVACMD%" == "" set _JAVACMD=java.exe | ||
|
||
"%_JAVACMD%" -cp %CLASSPATH% org.hyperic.hq.hqapi1.tools.Shell "%1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters