SINTEF-9012 / JArduino

Program your Arduino in Java
https://github.com/SINTEF-9012/JArduino/wiki
176 stars 63 forks source link

dependencies broken #47

Closed lobsteroh closed 8 years ago

lobsteroh commented 8 years ago

this setup is not working well ...

JArduino/pom.xml has broken bits

    <repository>
        <id>kevoree-libs-release-local</id>
        <url>http://maven.kevoree.org/release</url>
    </repository>

where http://maven.kevoree.org/release is "404 not found"

JArduino/jarduino.samples/pom.xml has also

    <dependency>
        <groupId>org.kevoree.extra</groupId>
        <artifactId>org.kevoree.extra.osgi.rxtx</artifactId>
        <version>2.2.0</version>
    </dependency>

results in

[INFO] ------------------------------------------------------------------------
[INFO] Building org.sintef.jarduino.serial 0.1.7-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for org.kevoree.extra:org.kevoree.extra.osgi.rxtx:jar:2.2.0 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details

and in eclipse the ping example gives

Load RxTx
WARNING:  RXTX Version mismatch
Jar version = RXTX-2.2
native lib Version = RXTX-2.2pre3
Request timed out (after 1010ms)
Request timed out (after 1000ms)
Request timed out (after 1001ms)

all a bit of a mess, and not functional in mac osx. oh well ...

lobsteroh commented 8 years ago

reporting (somewhat red-faced) that my case of non-functional serial connection with arduino not related to the RXTX mismatch. apparently native lib has not been finished to 2.2, but Jar version is already there - thus the mismatch warning, but successful communication with board is working fine despite this