Improve bat helpers / minor changes to logging and todo messages

This commit is contained in:
ljacqu 2016-07-02 08:38:23 +02:00
parent 73a9b5ce0c
commit 1f35ccd841
6 changed files with 10 additions and 6 deletions

View File

@ -278,7 +278,7 @@ public class AuthMe extends JavaPlugin {
// If server is using PermissionsBukkit, print a warning that some features may not be supported // If server is using PermissionsBukkit, print a warning that some features may not be supported
if (PermissionsSystemType.PERMISSIONS_BUKKIT.equals(permsMan.getPermissionSystem())) { if (PermissionsSystemType.PERMISSIONS_BUKKIT.equals(permsMan.getPermissionSystem())) {
ConsoleLogger.info("Warning! This server uses PermissionsBukkit for permissions! Some permissions features may not be supported!"); ConsoleLogger.showError("Warning! This server uses PermissionsBukkit for permissions. Some permissions features may not be supported!");
} }
// Purge on start if enabled // Purge on start if enabled

View File

@ -76,7 +76,7 @@ public class PurgeService implements Reloadable {
if (!settings.getProperty(PurgeSettings.USE_AUTO_PURGE)) { if (!settings.getProperty(PurgeSettings.USE_AUTO_PURGE)) {
return; return;
} else if (daysBeforePurge <= 0) { } else if (daysBeforePurge <= 0) {
ConsoleLogger.showError("Configured days before purging must be positive"); ConsoleLogger.showError("Did not run auto purge: configured days before purging must be positive");
return; return;
} }

View File

@ -6,7 +6,7 @@ import org.junit.Ignore;
* Test for {@link CryptPBKDF2}. * Test for {@link CryptPBKDF2}.
*/ */
@Ignore @Ignore
// TODO #369: This algorithm seems broken // TODO #685: This algorithm seems broken
public class CryptPBKDF2Test extends AbstractEncryptionMethodTest { public class CryptPBKDF2Test extends AbstractEncryptionMethodTest {
public CryptPBKDF2Test() { public CryptPBKDF2Test() {

View File

@ -0,0 +1,5 @@
: Shortcut for quickbuild / move to plugins / run server
call quick_build.bat
call move_plugin.bat
call run_server.bat

View File

@ -1,11 +1,10 @@
: Moves the AuthMe JAR file to the plugins folder of the test server : Moves the AuthMe JAR file to the plugins folder of the test server
: You will have to hit 'Y' to really replace it if it already exists
if "%jarfile%" == "" ( if "%jarfile%" == "" (
call setvars.bat call setvars.bat
) )
if exist %jarfile% ( if exist %jarfile% (
xcopy %jarfile% %plugins% xcopy %jarfile% %plugins% /y
) else ( ) else (
echo Target file not found: '%jarfile%' echo Target file not found: '%jarfile%'
) )

View File

@ -3,4 +3,4 @@ if "%jarfile%" == "" (
call setvars.bat call setvars.bat
) )
mvn install -f "%pomfile%" -Dmaven.test.skip mvn install -o -f "%pomfile%" -Dmaven.test.skip