From 34e3cd1cbd03c4434c4efbee7da11bbc6ecbff6d Mon Sep 17 00:00:00 2001 From: P0nk Date: Sat, 3 Apr 2021 15:23:10 +0200 Subject: [PATCH] Clean up unused files --- launchtest.bat | 61 ------------------------------------------------ linux-compile.sh | 4 ---- linux-launch.sh | 4 ---- posix-compile.sh | 11 --------- posix-launch.sh | 7 ------ 5 files changed, 87 deletions(-) delete mode 100644 launchtest.bat delete mode 100755 linux-compile.sh delete mode 100644 linux-launch.sh delete mode 100644 posix-compile.sh delete mode 100644 posix-launch.sh diff --git a/launchtest.bat b/launchtest.bat deleted file mode 100644 index b6a02eb5a9..0000000000 --- a/launchtest.bat +++ /dev/null @@ -1,61 +0,0 @@ -REM // 'launchtest.bat' Author: Tochi -@echo off -set a=0 -title HeavenMS: Offline -color 1b -:clear -cls -echo HeavenMS Server Launcher -echo. -echo Commands: -echo ------------------------------------------------------------- -echo start - Start HeavenMS server -echo shutdown - Shut down HeavenMS server and close Launcher File -echo reset - Resets HeavenMS Launcher File -echo clear - Clear this window -echo ------------------------------------------------------------- -echo. - -:command -set /p s="Enter command: " -if "%s%"=="start" goto :start -if "%s%"=="shutdown" goto :shutdown -if "%s%"=="reset" goto :reset -if "%s%"=="clear" goto :clear -echo Wrong Command. -echo. -goto :command - -:start -if "%a%"=="1" ( -echo HeavenMS is already active! -echo. -goto :command -) -color 4c -echo This might take a while.... -echo. -title HeavenMS: activating -echo Server Launching... -start /b launch.bat -color 2a -title HeavenMS: Online -set a=1 -ping localhost -w 10000 >nul -echo. -goto :command - -:shutdown -color 4c -title HeavenMS: Shutting Down... -echo The Server Launcher will be close in a few seconds. -ping localhost -w 100000 >nul -taskkill /im cmd.exe - -:reset -color 4c -title HeavenMS: Resetting... -echo Please type 'start' in command box after bat file have been resetted. -ping localhost -w 100000 >nul -start launchtest.bat REM // thanks Paxum for noting that 'launchtest.bat' is to be used here -taskkill /im cmd.exe \ No newline at end of file diff --git a/linux-compile.sh b/linux-compile.sh deleted file mode 100755 index 9cfec04218..0000000000 --- a/linux-compile.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/bash -# thanks to lkxyyjx -sudo ant -Dplatforms.JDK_1.7.home=/opt/jdk1.7.0_80 compile -sudo ant -Dplatforms.JDK_1.7.home=/opt/jdk1.7.0_80 jar \ No newline at end of file diff --git a/linux-launch.sh b/linux-launch.sh deleted file mode 100644 index 40557cec8e..0000000000 --- a/linux-launch.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh -# cores in classpath, thanks to lkxyyjx -export CLASSPATH=".:dist/*:cores/*" -java -Xmx2048m -Dwzpath=wz/ net.server.Server \ No newline at end of file diff --git a/posix-compile.sh b/posix-compile.sh deleted file mode 100644 index 1880dd8b58..0000000000 --- a/posix-compile.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/bash -# compilation script for posix-compliant systems - -src=src -dist=dist - -cores=$(echo cores/*) -cores=${cores// /:} - -mkdir -p $dist -javac -d $dist -cp $cores $(find $src -name "*.java") diff --git a/posix-launch.sh b/posix-launch.sh deleted file mode 100644 index 9222538da7..0000000000 --- a/posix-launch.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/bash -# launch script -cores=$(echo cores/*) -cores=${cores// /:} -cp=.:dist:$cores - -java -Xmx2048m -Dwzpath=wz -cp $cp net.server.Server