RC version 0.3.1

This commit is contained in:
Manfred Karrer 2015-11-18 17:32:02 +01:00
parent b235beb56b
commit 5b4a360b26
16 changed files with 29 additions and 17 deletions

View File

@ -5,7 +5,7 @@
<parent>
<artifactId>parent</artifactId>
<groupId>io.bitsquare</groupId>
<version>0.3.2-SNAPSHOT</version>
<version>0.3.2.1</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@ -53,7 +53,7 @@ public class Log {
PatternLayoutEncoder encoder = new PatternLayoutEncoder();
encoder.setContext(loggerContext);
encoder.setPattern("%highlight(%d{MMM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{15} - %msg %xEx%n)");
encoder.setPattern("%d{MMM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{15}: %msg %xEx%n");
encoder.start();
appender.setEncoder(encoder);
@ -62,7 +62,7 @@ public class Log {
appender.start();
logbackLogger = loggerContext.getLogger(org.slf4j.Logger.ROOT_LOGGER_NAME);
logbackLogger.setLevel(releaseVersion ? Level.INFO : Level.TRACE);
logbackLogger.setLevel(releaseVersion ? Level.DEBUG : Level.TRACE);
logbackLogger.addAppender(appender);
}

View File

@ -45,4 +45,14 @@ public class Version {
// The version for the bitcoin network (Mainnet = 0, TestNet = 1, Regtest = 2)
public static int NETWORK_ID;
public static void printVersion() {
log.info("Version{" +
"VERSION=" + VERSION +
", NETWORK_PROTOCOL_VERSION=" + NETWORK_PROTOCOL_VERSION +
", LOCAL_DB_VERSION=" + LOCAL_DB_VERSION +
", PROTOCOL_VERSION=" + PROTOCOL_VERSION +
", NETWORK_ID=" + NETWORK_ID +
'}');
}
}

View File

@ -6,7 +6,7 @@
<parent>
<artifactId>parent</artifactId>
<groupId>io.bitsquare</groupId>
<version>0.3.2-SNAPSHOT</version>
<version>0.3.2.1</version>
</parent>
<artifactId>core</artifactId>

View File

@ -22,7 +22,7 @@
<parent>
<artifactId>parent</artifactId>
<groupId>io.bitsquare</groupId>
<version>0.3.2-SNAPSHOT</version>
<version>0.3.2.1</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@ -73,7 +73,7 @@ import static io.bitsquare.app.BitsquareEnvironment.APP_NAME_KEY;
public class BitsquareApp extends Application {
private static final Logger log = (ch.qos.logback.classic.Logger) LoggerFactory.getLogger(BitsquareApp.class);
public static final boolean DEV_MODE = true;
public static final boolean DEV_MODE = false;
public static final boolean IS_RELEASE_VERSION = !DEV_MODE && true;
private static Environment env;
@ -102,6 +102,8 @@ public class BitsquareApp extends Application {
Log.setup(logPath, IS_RELEASE_VERSION);
log.info("Log files under: " + logPath);
Version.printVersion();
UserThread.setExecutor(Platform::runLater);
// setup UncaughtExceptionHandler

View File

@ -2,7 +2,7 @@
<configuration>
<appender name="CONSOLE_APPENDER" class="ch.qos.logback.core.ConsoleAppender">
<encoder>
<pattern>%highlight(%d{MMM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{15} - %msg %xEx%n)</pattern>
<pattern>%highlight(%d{MMM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{15}: %msg %xEx%n)</pattern>
</encoder>
</appender>

View File

@ -5,7 +5,7 @@
<parent>
<artifactId>parent</artifactId>
<groupId>io.bitsquare</groupId>
<version>0.3.2-SNAPSHOT</version>
<version>0.3.2.1</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@ -5,7 +5,7 @@
<parent>
<artifactId>parent</artifactId>
<groupId>io.bitsquare</groupId>
<version>0.3.2-SNAPSHOT</version>
<version>0.3.2.1</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@ -5,7 +5,7 @@
<parent>
<artifactId>parent</artifactId>
<groupId>io.bitsquare</groupId>
<version>0.3.2-SNAPSHOT</version>
<version>0.3.2.1</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@ -5,7 +5,7 @@
<parent>
<artifactId>parent</artifactId>
<groupId>io.bitsquare</groupId>
<version>0.3.2-SNAPSHOT</version>
<version>0.3.2.1</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@ -1,12 +1,12 @@
#!/bin/bash
cd ../../
mkdir gui/deploy
mkdir -p gui/deploy
set -e
# Edit versions
fullVersion=0.3.1
fullVersion=0.3.2
# Copy jar file from mac build (1.jar from processed folder) to linux box
# Note: fakeroot needs to be installed on linux

View File

@ -1,7 +1,7 @@
#!/bin/bash
cd ../../
mkdir gui/deploy
mkdir -p gui/deploy
set -e

View File

@ -6,7 +6,7 @@
<groupId>io.bitsquare</groupId>
<artifactId>parent</artifactId>
<packaging>pom</packaging>
<version>0.3.2-SNAPSHOT</version>
<version>0.3.2.1</version>
<description>Bitsquare - The decentralized bitcoin exchange</description>
<url>https://bitsquare.io</url>

View File

@ -5,7 +5,7 @@
<parent>
<artifactId>parent</artifactId>
<groupId>io.bitsquare</groupId>
<version>0.3.2-SNAPSHOT</version>
<version>0.3.2.1</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@ -19,7 +19,7 @@
<configuration>
<appender name="CONSOLE_APPENDER" class="ch.qos.logback.core.ConsoleAppender">
<encoder>
<pattern>%highlight(%d{MMM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{15} - %msg %xEx%n)</pattern>
<pattern>%highlight(%d{MMM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{15}: %msg %xEx%n)</pattern>
</encoder>
</appender>