Skip to content

Commit

Permalink
Merge pull request #160 from ItamarBenjamin/master
Browse files Browse the repository at this point in the history
adding installDir java property
  • Loading branch information
ezraroi committed May 4, 2015
2 parents e892731 + e1d843c commit a6cae33
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion deployment/bin_windows/install.bat
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
@ECHO OFF

cd ..
set DIST_DIR="%CD%"
echo %DIST_DIR%
cd bin_windows

FOR /F "tokens=1* delims=REG_SZ " %%A IN ('REG QUERY HKLM\System\CurrentControlSet\Services\Tcpip\Parameters /v Domain') DO (
SET CURR_DOMAIN=%%B
)

wrapper.exe --name="Codeine" --mode=Main --install javaw -Xdebug -DDNS_DOMAIN_NAME=%CURR_DOMAIN% -Xrunjdwp:transport=dt_socket,server=y,suspend=n -Xmx100M -cp ..\bin\codeine.jar codeine.CodeinePeerBootstrap
wrapper.exe --name="Codeine" --mode=Main --install javaw -DinstallDir=%DIST_DIR% -Xdebug -DDNS_DOMAIN_NAME=%CURR_DOMAIN% -Xrunjdwp:transport=dt_socket,server=y,suspend=n -Xmx100M -cp ..\bin\codeine.jar codeine.CodeinePeerBootstrap

0 comments on commit a6cae33

Please sign in to comment.