use launcher.jar,
changed newline encoding back to windows mode (hopefully) minor fixes.
This commit is contained in:
parent
2a9515663a
commit
269aeda187
1 changed files with 82 additions and 91 deletions
|
@ -27,6 +27,9 @@ rem set JAVA_HOME=c:\program files\java
|
|||
:: Uncomment to pass options to the Java virtual machine
|
||||
rem set JAVA_OPTIONS=-server -Xmx128m
|
||||
|
||||
:: Uncomment to add your own jar files to the class path
|
||||
rem set JARS=C:\path\to\some.jar
|
||||
|
||||
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
|
||||
:::::: No user configuration needed below this line :::::::
|
||||
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
|
||||
|
@ -47,23 +50,8 @@ if "%JAVA_HOME%"=="" goto default
|
|||
if "%HOP_HOME%"=="" (
|
||||
set HOP_HOME=%SCRIPT_DIR%
|
||||
)
|
||||
cd %HOP_HOME%
|
||||
|
||||
:: Setting the classpath
|
||||
set LIB=%SCRIPT_DIR%lib
|
||||
set JARS=%LIB%\helma.jar
|
||||
set JARS=%JARS%;%LIB%\jetty.jar
|
||||
set JARS=%JARS%;%LIB%\crimson.jar
|
||||
set JARS=%JARS%;%LIB%\xmlrpc.jar
|
||||
set JARS=%JARS%;%LIB%\village.jar
|
||||
set JARS=%JARS%;%LIB%\servlet.jar
|
||||
set JARS=%JARS%;%LIB%\regexp.jar
|
||||
set JARS=%JARS%;%LIB%\netcomponents.jar
|
||||
set JARS=%JARS%;%LIB%\jimi.jar
|
||||
set JARS=%JARS%;%LIB%\apache-dom.jar
|
||||
set JARS=%JARS%;%LIB%\jdom.jar
|
||||
set JARS=%JARS%;%LIB%\mail.jar
|
||||
set JARS=%JARS%;%LIB%\activation.jar
|
||||
set JARS=%JARS%;%LIB%\mysql.jar
|
||||
|
||||
:: Setting Helma server options
|
||||
if not "%HTTP_PORT%"=="" (
|
||||
|
@ -84,8 +72,11 @@ if not "%RMI_PORT%"=="" (
|
|||
)
|
||||
if not "%HOP_HOME%"=="" (
|
||||
echo Serving applications from %HOP_HOME%
|
||||
set OPTIONS=%OPTIONS% -h %HOP_HOME%
|
||||
set OPTIONS=%OPTIONS% -h "%HOP_HOME%
|
||||
)
|
||||
if not "%JARS%"=="" (
|
||||
set JARS=-classpath %JARS%
|
||||
)
|
||||
|
||||
:: Invoking the Java virtual machine
|
||||
%JAVACMD% %JAVA_OPTIONS% -classpath %JARS% helma.main.Server %OPTIONS%
|
||||
%JAVACMD% %JAVA_OPTIONS% %JARS% -jar launcher.jar %OPTIONS%
|
||||
|
|
Loading…
Add table
Reference in a new issue