-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fix the issue of failing to launch from directories containing spaces. * Support running the launcher from different directories * Use Git Release tool to publish artifacts to Github
- Loading branch information
1 parent
526fcae
commit 6ab77f6
Showing
7 changed files
with
22 additions
and
16 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
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
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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
junitVersion=4.12 | ||
artifactVersion=1.0.0 | ||
artifactVersion=1.0.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
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 |
---|---|---|
@@ -1,5 +1,6 @@ | ||
#!/bin/bash | ||
OLD_JAVA_HOME=$JAVA_HOME | ||
export JAVA_HOME=`pwd`/jdk8u212-b03-jre | ||
"$JAVA_HOME/bin/java" -DLAUNCHER_JAVA_PATH="$JAVA_HOME/bin/java" -jar ./libs/admin.jar | ||
export JAVA_HOME=$OLD_JAVA_HOME | ||
SCRIPT_DIRECTORY=`readlink -f "$(dirname "$0")"` | ||
export JAVA_HOME=$SCRIPT_DIRECTORY/jdk8u212-b03-jre | ||
"$JAVA_HOME/bin/java" -DLAUNCHER_JAVA_PATH="$JAVA_HOME/bin/java" -jar "$SCRIPT_DIRECTORY/libs/admin.jar" | ||
export JAVA_HOME=$OLD_JAVA_HOME |
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 |
---|---|---|
@@ -1,5 +1,6 @@ | ||
#!/bin/bash | ||
OLD_JAVA_HOME=$JAVA_HOME | ||
export JAVA_HOME=`pwd`/jdk8u212-b03-jre/Contents/Home | ||
"$JAVA_HOME/bin/java" -DLAUNCHER_JAVA_PATH="$JAVA_HOME/bin/java" -jar ./libs/admin.jar | ||
SCRIPT_DIRECTORY=`readlink -f "$(dirname "$0")"` | ||
export JAVA_HOME=$SCRIPT_DIRECTORY/jdk8u212-b03-jre/Contents/Home | ||
"$JAVA_HOME/bin/java" -DLAUNCHER_JAVA_PATH="$JAVA_HOME/bin/java" -jar "$SCRIPT_DIRECTORY/libs/admin.jar" | ||
export JAVA_HOME=$OLD_JAVA_HOME |
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 |
---|---|---|
@@ -1,6 +1,7 @@ | ||
@echo off | ||
set OLD_JAVA_HOME=%JAVA_HOME% | ||
set JAVA_HOME=%cd%\jdk8u212-b03-jre | ||
start "Admin console launcher" /D "%cd%\libs" %JAVA_HOME%\bin\javaw -DLAUNCHER_JAVA_PATH="%JAVA_HOME%\bin\java" -jar admin.jar | ||
set BAT_DIRECTORY=%~dp0 | ||
set JAVA_HOME=%BAT_DIRECTORY%jdk8u212-b03-jre | ||
start "Admin console launcher" /D "%BAT_DIRECTORY%\libs" "%JAVA_HOME%\bin\javaw" -DLAUNCHER_JAVA_PATH="%JAVA_HOME%\bin\java" -jar admin.jar | ||
set JAVA_HOME=%OLD_JAVA_HOME% | ||
set OLD_JAVA_HOME= |