Hi Romain,

So there are two things here.

First, you now need to import akka-actor yourself (previously it was wrapped 
inside akka-osgi).

Second, I only tried agains Scala 2.10. There seems to be a probelm with the 
Scala version range for the Scala 2.11 artifacts. Thanks for reporting. I’ve 
opened a ticket.

B/ 

On 4 March 2014 at 15:22:38, Romain Gilles ([email protected]) wrote:

Hi Björn,
First of all sorry for the delay...
I have done a couple of tests. Then this is my result:
In the version com.typesafe.akka:akka-osgi_2.10:2.3-M2 the content is the 
following:


As you can see it contains all the configuration files and all the akka-* 
components as an uber-jar.
In com.typesafe.akka:akka-osgi_2.10:2.3.0-RC4


As you can see the configuration and the akka-* except osgi one are no longer 
present.

Finally in com.typesafe.akka:akka-osgi_2.11.0-RC1:2.3.0-RC4



Only the configuration files and osgi specific classes are present.
In this bundle there is also an other proble on the scala version imported in 
the manifest. What I understand in the pom.xml and in the naming convention is 
that you this bundle should import scala version range: [2.11,2.12) but I found 
this:
scala;version="[2.10,2.11)",scala.collection;version="[2.10,2.11)"...

I would like to know if it there is no issue with your build?

Thanks,

Romain.

Le lundi 3 mars 2014 13:44:15 UTC+1, Björn Antonsson a écrit :
Hi Romain,

On 1 March 2014 at 12:13:32, Romain Gilles ([email protected]) wrote:

Hi all,
I'm trying to install and start the last release candidate RC4 of akka-osgi but 
I end up with the following error when I try to start it:
Error executing command: Error starting bundles:
        Unable to start bundle 182: The bundle 
"com.typesafe.akka.osgi_2.3.0.RC4 [182]" could not be resolved. Reason: Package 
uses conflict: Import-Package: akka.actor; version="[2.3.0,2.4.0)", Package 
uses conflict: Import-Package: akka.event; version="[2.3.0,2.4.0)"

Is anybody able to start the RC4 under osgi?


I just double checked with the OSGi sample in the akka source tree (by changing 
all the 2.3-SNAPSHOT to 2.3.0-RC4) and it works fine.

Are you using a mix of 2.3.0-RC4 and 2.2.x akka artifacts?

B/

Thanks,

Romain

PS: I'm using karaf 2.3.1 here, I have also try with the last equinox


--
>>>>>>>>>> Read the docs: http://akka.io/docs/
>>>>>>>>>> Check the FAQ: http://akka.io/faq/
>>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user
---
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/groups/opt_out.

-- 
Björn Antonsson
Typesafe – Reactive Apps on the JVM
twitter: @bantonsson

--
>>>>>>>>>> Read the docs: http://akka.io/docs/
>>>>>>>>>> Check the FAQ: http://akka.io/faq/
>>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user
---
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/groups/opt_out.

-- 
Björn Antonsson
Typesafe – Reactive Apps on the JVM
twitter: @bantonsson

-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: http://akka.io/faq/
>>>>>>>>>>      Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to