Skip to content

Commit

Permalink
different fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
eschava committed Mar 9, 2016
1 parent ca60543 commit 4489913
Show file tree
Hide file tree
Showing 8 changed files with 28 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .idea/compiler.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 0 additions & 9 deletions .idea/libraries/purejavahidapi_0_0_1.xml

This file was deleted.

1 change: 0 additions & 1 deletion ht2000.iml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" name="purejavahidapi-0.0.1" level="project" />
<orderEntry type="library" name="Maven: org.usb4java:usb4java:1.2.0" level="project" />
<orderEntry type="library" name="Maven: org.usb4java:libusb4java:linux-x86:1.2.0" level="project" />
<orderEntry type="library" name="Maven: org.usb4java:libusb4java:linux-x86_64:1.2.0" level="project" />
Expand Down
21 changes: 20 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.eschava</groupId>
<artifactId>ht2000</artifactId>
<version>0.1-SNAPSHOT</version>
<version>0.2-SNAPSHOT</version>

<build>
<sourceDirectory>src</sourceDirectory>
Expand Down Expand Up @@ -34,6 +34,25 @@
</execution>
</executions>
</plugin>

<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>ideauidesigner-maven-plugin</artifactId>
<version>1.0-beta-1</version>
<executions>
<execution>
<goals>
<goal>javac2</goal>
</goals>
</execution>
</executions>

<configuration>
<fork>true</fork>
<debug>true</debug>
<failOnError>true</failOnError>
</configuration>
</plugin>
</plugins>
</build>

Expand Down
2 changes: 1 addition & 1 deletion release/gui.bat
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
@echo off
java -classpath lib/* com.eschava.ht2000.gui.HT2000Window
java -classpath "lib/*" com.eschava.ht2000.gui.HT2000Window
2 changes: 1 addition & 1 deletion release/mqtt.bat
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ SET co2Topic=/ht-2000/co2

SET interval=60

java -classpath lib/* ^
java -classpath "lib/*" ^
-DmqttUrl=%mqttUrl% ^
-DmqttClientId=%mqttClientId% ^
-DmqttUser=%mqttUser% ^
Expand Down
2 changes: 1 addition & 1 deletion release/print.bat
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
@echo off
java -classpath lib/* com.eschava.ht2000.console.PrintState
java -classpath "lib/*" com.eschava.ht2000.console.PrintState
4 changes: 4 additions & 0 deletions src/com/eschava/ht2000/mqtt/MQTTMain.java
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ private static byte[] getPayload(double v) {
return String.valueOf(v).getBytes();
}

private static byte[] getPayload(int v) {
return String.valueOf(v).getBytes();
}

public static void main(String[] args) throws Exception {
new MqttMain().start();
}
Expand Down

0 comments on commit 4489913

Please sign in to comment.