Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
jomof committed Mar 26, 2017
1 parent e38e8b4 commit d41fe30
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
Binary file modified bootstrap/wrapper/bootstrap.jar
Binary file not shown.
7 changes: 3 additions & 4 deletions cdep
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,9 @@
##
##############################################################################

MANIFEST=https://raw.githubusercontent.com/jomof/cdep/master/bootstrap.yml
MANIFEST=https://raw.githubusercontent.com/jomof/cdep/master/boot.yml

if [ -f "$1" ]; then
echo Using $1 instead of $MANIFEST
MANIFEST=$1
shift 1
fi
Expand Down Expand Up @@ -169,9 +168,9 @@ if [[ "$(uname)" == "Darwin" ]] && [[ "$HOME" == "$PWD" ]]; then
cd "$(dirname "$0")"
fi

"$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" com.jomofisher.bootstrap.Bootstrap $MANIFEST $@
"$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" io.cdep.bootstrap.Bootstrap $MANIFEST $@
if [[ $? != 0 ]]; then
echo "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" com.jomofisher.bootstrap.Bootstrap $MANIFEST $@
echo "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" io.cdep.bootstrap.Bootstrap $MANIFEST $@
fi


Expand Down
4 changes: 2 additions & 2 deletions cdep.bat
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
@rem
@rem ##########################################################################

set MANIFEST=https://raw.githubusercontent.com/jomof/cdep/master/bootstrap.yml
set MANIFEST=https://raw.githubusercontent.com/jomof/cdep/master/boot.yml

@rem Set local scope for the variables with windows NT shell
if "%OS%"=="Windows_NT" setlocal
Expand Down Expand Up @@ -68,7 +68,7 @@ set CMD_LINE_ARGS=%*
set CLASSPATH=%APP_HOME%\bootstrap\wrapper\bootstrap.jar

@rem Execute Bootstrap
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %CDEP_OPTS% "-Dio.cdep.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" com.jomofisher.bootstrap.Bootstrap %MANIFEST% %CMD_LINE_ARGS%
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %CDEP_OPTS% "-Dio.cdep.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" io.cdep.bootstrap.Bootstrap %MANIFEST% %CMD_LINE_ARGS%

:end
@rem End local scope for the variables with windows NT shell
Expand Down

0 comments on commit d41fe30

Please sign in to comment.