Bumped release 0.5

This commit is contained in:
selva.andre
2014-03-05 19:37:43 +01:00
parent b5eb75d607
commit 1897154cfd
10 changed files with 12 additions and 13 deletions
+1 -1
View File
@@ -7,7 +7,7 @@
<!--<relativePath>../pom.xml</relativePath>--> <!--<relativePath>../pom.xml</relativePath>-->
<artifactId>moquette-parent</artifactId> <artifactId>moquette-parent</artifactId>
<groupId>org.dna.mqtt</groupId> <groupId>org.dna.mqtt</groupId>
<version>0.5-SNAPSHOT</version> <version>0.5</version>
</parent> </parent>
<artifactId>moquette-broker</artifactId> <artifactId>moquette-broker</artifactId>
@@ -26,7 +26,7 @@ public class Server {
final Server server = new Server(); final Server server = new Server();
server.startServer(); server.startServer();
System.out.println("Server started, version 0.5-SNAPSHOT"); System.out.println("Server started, version 0.5");
//Bind a shutdown hook //Bind a shutdown hook
Runtime.getRuntime().addShutdownHook(new Thread() { Runtime.getRuntime().addShutdownHook(new Thread() {
@Override @Override
+2 -2
View File
@@ -1,8 +1,8 @@
Simple guide on how to use the bundle in a testable OSGi container: Simple guide on how to use the bundle in a testable OSGi container:
- mvn pax:provision //to create and download the required bundles - mvn pax:provision //to create and download the required bundles
- osgi>exit - osgi>exit
- cp target/moquette-bundle-0.5-SNAPSHOT.jar runner/bundles/ //to move the broker bundle - cp target/moquette-bundle-0.5.jar runner/bundles/ //to move the broker bundle
- mvn pax:provision //restart the OSGi container - mvn pax:provision //restart the OSGi container
- osgi> install file:bundles/moquette-bundle-0.5-SNAPSHOT.jar - osgi> install file:bundles/moquette-bundle-0.5.jar
- osgi> ss - osgi> ss
- osgi> start <num last bundle> - osgi> start <num last bundle>
+1 -1
View File
@@ -7,7 +7,7 @@
<!--<relativePath>../pom.xml</relativePath>--> <!--<relativePath>../pom.xml</relativePath>-->
<artifactId>moquette-parent</artifactId> <artifactId>moquette-parent</artifactId>
<groupId>org.dna.mqtt</groupId> <groupId>org.dna.mqtt</groupId>
<version>0.5-SNAPSHOT</version> <version>0.5</version>
</parent> </parent>
<artifactId>moquette-bundle</artifactId> <artifactId>moquette-bundle</artifactId>
@@ -20,11 +20,11 @@ public class Activator implements BundleActivator {
public void start(BundleContext bundleContext) throws Exception { public void start(BundleContext bundleContext) throws Exception {
server = new Server(); server = new Server();
server.startServer(); server.startServer();
LOG.info("Moquette MQTT broker started, version 0.5-SNAPSHOT"); LOG.info("Moquette MQTT broker started, version 0.5");
} }
public void stop(BundleContext bundleContext) throws Exception { public void stop(BundleContext bundleContext) throws Exception {
server.stopServer(); server.stopServer();
LOG.info("Moquette MQTT broker stopped, version 0.5-SNAPSHOT"); LOG.info("Moquette MQTT broker stopped, version 0.5");
} }
} }
+1 -1
View File
@@ -6,7 +6,7 @@
<!--<relativePath>../pom.xml</relativePath>--> <!--<relativePath>../pom.xml</relativePath>-->
<artifactId>moquette-parent</artifactId> <artifactId>moquette-parent</artifactId>
<groupId>org.dna.mqtt</groupId> <groupId>org.dna.mqtt</groupId>
<version>0.5-SNAPSHOT</version> <version>0.5</version>
</parent> </parent>
<artifactId>distribution</artifactId> <artifactId>distribution</artifactId>
+1 -2
View File
@@ -52,6 +52,5 @@ LOG_FILE=$MOQUETTE_HOME/config/moquette-log.properties
#set MOQUETTE_SETTINGS="-Dprofiler.enabled=true -Dcache.level1.enabled=false -Dcache.level2.enabled=false" #set MOQUETTE_SETTINGS="-Dprofiler.enabled=true -Dcache.level1.enabled=false -Dcache.level2.enabled=false"
JAVA_OPTS_SCRIPT="-XX:+HeapDumpOnOutOfMemoryError -Djava.awt.headless=true" JAVA_OPTS_SCRIPT="-XX:+HeapDumpOnOutOfMemoryError -Djava.awt.headless=true"
#$JAVA -server $JAVA_OPTS $JAVA_OPTS_SCRIPT $ORIENTDB_SETTINGS -Dfile.encoding=UTF8 -Djava.util.logging.config.file="$LOG_FILE" -Dmoquette.config.file="$CONFIG_FILE" -Dmoquette.www.path="$WWW_PATH" -Dmoquette.build.number="@BUILD@" -cp "$ORIENTDB_HOME/lib/moquette-server-@[email protected]:$ORIENTDB_HOME/lib/*" com.orientechnologies.orient.server.OServerMain $JAVA -server $JAVA_OPTS $JAVA_OPTS_SCRIPT -cp "$LOG_FILE:$MOQUETTE_HOME/lib/moquette-broker-0.5.jar:$MOQUETTE_HOME/lib/*" org.dna.mqtt.moquette.server.Server
$JAVA -server $JAVA_OPTS $JAVA_OPTS_SCRIPT -cp "$LOG_FILE:$MOQUETTE_HOME/lib/moquette-broker-0.5-SNAPSHOT.jar:$MOQUETTE_HOME/lib/*" org.dna.mqtt.moquette.server.Server
+1 -1
View File
@@ -7,7 +7,7 @@
<!--<relativePath>../pom.xml</relativePath>--> <!--<relativePath>../pom.xml</relativePath>-->
<artifactId>moquette-parent</artifactId> <artifactId>moquette-parent</artifactId>
<groupId>org.dna.mqtt</groupId> <groupId>org.dna.mqtt</groupId>
<version>0.5-SNAPSHOT</version> <version>0.5</version>
</parent> </parent>
<artifactId>moquette-netty-parser</artifactId> <artifactId>moquette-netty-parser</artifactId>
+1 -1
View File
@@ -7,7 +7,7 @@
<!--<relativePath>../pom.xml</relativePath>--> <!--<relativePath>../pom.xml</relativePath>-->
<artifactId>moquette-parent</artifactId> <artifactId>moquette-parent</artifactId>
<groupId>org.dna.mqtt</groupId> <groupId>org.dna.mqtt</groupId>
<version>0.5-SNAPSHOT</version> <version>0.5</version>
</parent> </parent>
<artifactId>moquette-parser-commons</artifactId> <artifactId>moquette-parser-commons</artifactId>
+1 -1
View File
@@ -10,7 +10,7 @@
<artifactId>moquette-parent</artifactId> <artifactId>moquette-parent</artifactId>
<packaging>pom</packaging> <packaging>pom</packaging>
<version>0.5-SNAPSHOT</version> <version>0.5</version>
<name>Moquette MQTT library</name> <name>Moquette MQTT library</name>
<url>http://code.google.com/p/moquette-mqtt/</url> <url>http://code.google.com/p/moquette-mqtt/</url>