Skip to content

Commit d46e557

Browse files
committed
Replace RXTX-based serial library by one based on JSSC
Development on this was done in https://github.com/gohai/processing-serial-jssc. See also https://github.com/gohai/java-simple-serial-connector for changes to JSSC (not yet upstreamed).
1 parent 81f6844 commit d46e557

File tree

4 files changed

+270
-595
lines changed

4 files changed

+270
-595
lines changed

java/libraries/serial/.classpath

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<classpath>
33
<classpathentry kind="src" path="src"/>
44
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
5-
<classpathentry kind="lib" path="library/RXTXcomm.jar"/>
5+
<classpathentry kind="lib" path="library/jssc.jar"/>
66
<classpathentry combineaccessrules="false" kind="src" path="/processing-core"/>
77
<classpathentry kind="output" path="bin"/>
88
</classpath>

java/libraries/serial/build.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
<target name="clean" description="Clean the build directories">
55
<delete dir="bin" />
6-
<delete file="library/pdf.jar" />
6+
<delete file="library/serial.jar" />
77
</target>
88

99
<target name="compile" description="Compile sources">
@@ -18,7 +18,7 @@
1818
srcdir="src" destdir="bin"
1919
encoding="UTF-8"
2020
includeAntRuntime="false"
21-
classpath="../../../core/library/core.jar; library/RXTXcomm.jar"
21+
classpath="../../../core/library/core.jar; library/jssc.jar"
2222
nowarn="true"
2323
compiler="org.eclipse.jdt.core.JDTCompilerAdapter">
2424
<compilerclasspath path="../../mode/ecj.jar" />
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
This is using a modified version of Java Simple Serial Connector by Alexey Sokolov. See https://github.com/gohai/java-simple-serial-connector for details on the modifications.

0 commit comments

Comments
 (0)