-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Package naming correction - Console update check added
- Loading branch information
1 parent
78dba36
commit 9e673ef
Showing
24 changed files
with
275 additions
and
21 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,30 @@ | ||
echo OFF | ||
REM ------------------------------------------------------------------------------ | ||
REM | ||
REM beetRoot Update Check | ||
REM Version: 1.0 | ||
REM | ||
REM ------------------------------------------------------------------------------ | ||
|
||
|
||
pushd %cd% | ||
|
||
REM | ||
REM ROOT path | ||
REM | ||
for %%d in (%~dp0..) do set ROOT=%%~fd | ||
cd %ROOT% | ||
|
||
REM | ||
REM Build the classpath | ||
REM | ||
set CLASSPATH=%ROOT%/lib/* | ||
|
||
|
||
|
||
REM | ||
REM Encode | ||
REM | ||
java -DROOTPATH="%ROOT%" -classpath "%CLASSPATH%" ch.autumo.beetroot.utils.system.Update %* | ||
|
||
popd |
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,57 @@ | ||
#!/bin/bash | ||
|
||
|
||
#------------------------------------------------------------------------------ | ||
# | ||
# beetRoot Update Check | ||
# Version: 1.0 | ||
# | ||
#------------------------------------------------------------------------------ | ||
|
||
|
||
pushd() { | ||
command pushd "$@" > /dev/null | ||
} | ||
popd() { | ||
command popd > /dev/null | ||
} | ||
|
||
pushd `pwd` | ||
|
||
# | ||
# ROOT path | ||
# | ||
cd "$(dirname "$0")/.." | ||
ROOT=`pwd` | ||
|
||
# | ||
# Base classpath | ||
# | ||
CLASSPATH=${ROOT} | ||
|
||
# | ||
# Dynamically build the classpath | ||
# | ||
COUNT=0 | ||
LIB_CLASSPATH= | ||
for i in `ls ${ROOT}/lib/*.jar` | ||
do | ||
if [ $COUNT -eq 0 ]; then | ||
LIB_CLASSPATH=${i} | ||
else | ||
LIB_CLASSPATH=${LIB_CLASSPATH}:${i} | ||
fi | ||
COUNT=$((c+1)) | ||
done | ||
CLASSPATH=${CLASSPATH}:${LIB_CLASSPATH} | ||
|
||
|
||
|
||
# | ||
# Encode | ||
# | ||
java \ | ||
-cp "${CLASSPATH}" \ | ||
ch.autumo.beetroot.utils.system.Update $* | ||
|
||
popd |
Binary file not shown.
Binary file modified
BIN
+3.08 KB
(100%)
lib/repo/ch/autumo/beetroot/autumo-beetroot/3.1.0/autumo-beetroot-3.1.0.jar
Binary file not shown.
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
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
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
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
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
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
Oops, something went wrong.