pstutz / signal-collect-javaapi

Java API for Signal/Collect.
6 stars 2 forks source link

Problem creating assembly #3

Open scampi opened 11 years ago

scampi commented 11 years ago

Hello

First of all, this is my first time with scala ;o) I am trying to create an assembly following the steps outlined in the README. However, I have this error:

> assembly
[info] Compiling 6 Scala sources and 2 Java sources to /home/stecam/workspace/signal-collect-javaapi/target/scala-2.10/classes...
[error] /home/stecam/workspace/signal-collect-javaapi/src/main/java/com/signalcollect/javaapi/DataGraphVertex.java:138: error: incompatible types
[error]         Edge<?> outgoingEdge = outgoingEdges().get(targetId);
[error]                                                   ^
[error]   required: Edge<?>
[error]   found:    Option<Edge<?>>
[error] 1 error
[error] (signal-collect-javaapi/compile:compile) javac returned nonzero exit code
[error] Total time: 3 s, completed 30-Jan-2013 16:58:42

I am using java7 :

 $ java -version
java version "1.7.0_07"
Java(TM) SE Runtime Environment (build 1.7.0_07-b10)
Java HotSpot(TM) 64-Bit Server VM (build 23.3-b01, mixed mode)
pstutz commented 11 years ago

Hi Stéphane,

Thanks for your interest in Signal/Collect.

First of all, this is my first time with scala ;o)

It's fun, I really recommend to use the Scala version instead. :)

I am trying to create an assembly following the steps outlined in the README. However, I have this error:

assembly [info] Compiling 6 Scala sources and 2 Java sources to /home/stecam/workspace/signal-collect-javaapi/target/scala-2.10/classes... [error] /home/stecam/workspace/signal-collect-javaapi/src/main/java/com/signalcollect/javaapi/DataGraphVertex.java:138: error: incompatible types [error] Edge<?> outgoingEdge = outgoingEdges().get(targetId); [error] ^ [error] required: Edge<?> [error] found: Option<Edge<?>> [error] 1 error error javac returned nonzero exit code [error] Total time: 3 s, completed 30-Jan-2013 16:58:42 Thank you very much for reporting this. We're preparing a release of the Scala version tomorrow, and some recent changes have broken the compatibility of the core snapshot with the Java API snapshot. My apologies for the inconvenience. I hope we will get around to releasing the Java API soon too.

Kind regards, Philip