Skip to content

Commit 4489913

Browse files
committed
different fixes
1 parent ca60543 commit 4489913

8 files changed

Lines changed: 28 additions & 15 deletions

File tree

.idea/compiler.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/libraries/purejavahidapi_0_0_1.xml

Lines changed: 0 additions & 9 deletions
This file was deleted.

ht2000.iml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
</content>
1010
<orderEntry type="inheritedJdk" />
1111
<orderEntry type="sourceFolder" forTests="false" />
12-
<orderEntry type="library" name="purejavahidapi-0.0.1" level="project" />
1312
<orderEntry type="library" name="Maven: org.usb4java:usb4java:1.2.0" level="project" />
1413
<orderEntry type="library" name="Maven: org.usb4java:libusb4java:linux-x86:1.2.0" level="project" />
1514
<orderEntry type="library" name="Maven: org.usb4java:libusb4java:linux-x86_64:1.2.0" level="project" />

pom.xml

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<modelVersion>4.0.0</modelVersion>
44
<groupId>com.eschava</groupId>
55
<artifactId>ht2000</artifactId>
6-
<version>0.1-SNAPSHOT</version>
6+
<version>0.2-SNAPSHOT</version>
77

88
<build>
99
<sourceDirectory>src</sourceDirectory>
@@ -34,6 +34,25 @@
3434
</execution>
3535
</executions>
3636
</plugin>
37+
38+
<plugin>
39+
<groupId>org.codehaus.mojo</groupId>
40+
<artifactId>ideauidesigner-maven-plugin</artifactId>
41+
<version>1.0-beta-1</version>
42+
<executions>
43+
<execution>
44+
<goals>
45+
<goal>javac2</goal>
46+
</goals>
47+
</execution>
48+
</executions>
49+
50+
<configuration>
51+
<fork>true</fork>
52+
<debug>true</debug>
53+
<failOnError>true</failOnError>
54+
</configuration>
55+
</plugin>
3756
</plugins>
3857
</build>
3958

release/gui.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
@echo off
2-
java -classpath lib/* com.eschava.ht2000.gui.HT2000Window
2+
java -classpath "lib/*" com.eschava.ht2000.gui.HT2000Window

release/mqtt.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ SET co2Topic=/ht-2000/co2
1111

1212
SET interval=60
1313

14-
java -classpath lib/* ^
14+
java -classpath "lib/*" ^
1515
-DmqttUrl=%mqttUrl% ^
1616
-DmqttClientId=%mqttClientId% ^
1717
-DmqttUser=%mqttUser% ^

release/print.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
@echo off
2-
java -classpath lib/* com.eschava.ht2000.console.PrintState
2+
java -classpath "lib/*" com.eschava.ht2000.console.PrintState

src/com/eschava/ht2000/mqtt/MQTTMain.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,10 @@ private static byte[] getPayload(double v) {
4040
return String.valueOf(v).getBytes();
4141
}
4242

43+
private static byte[] getPayload(int v) {
44+
return String.valueOf(v).getBytes();
45+
}
46+
4347
public static void main(String[] args) throws Exception {
4448
new MqttMain().start();
4549
}

0 commit comments

Comments
 (0)