Hey, OK, this will be some more work somewhere to make this work with
2.2.5... first of all I corrected the versions of karaf and slf4j in
the root pom.xml and features.xml; In addition I needed to remove the
-SNAPSHOT attribute in the features/src/main/features.xml. then I was
able to build the entire thing and deploy it on karaf. Though, after
I've tried to deploy the actor example from [1] I get a warning in log
from the scalaplugin:
2012-03-08 14:48:35,164 | WARN | raf-2.2.5/deploy | ScalaCompiler
| r.compiler.ScalaCompiler$$anon$2 60 | 51 -
org.fusesource.slang.scala.deployer - 1.0.0.SNAPSHOT |
NoPosition:[Classpath =
/home/pieber/.m2/repository/org/apache/karaf/apache-karaf/2.2.5/apache-karaf-2.2.5/system/org/apache/felix/org.apache.felix.framework/3.0.9/org.apache.felix.framework-3.0.9.jar:/home/pieber/.m2/repository/org/apache/karaf/apache-karaf/2.2.5/apache-karaf-2.2.5/lib/endorsed/org.apache.karaf.exception-2.2.5.jar:/opt/java/jre/lib/resources.jar:/opt/java/jre/lib/rt.jar:/opt/java/jre/lib/jsse.jar:/opt/java/jre/lib/jce.jar:/opt/java/jre/lib/charsets.jar:/opt/java/jre/lib/ext/sunec.jar:/opt/java/jre/lib/ext/sunjce_provider.jar:/opt/java/jre/lib/ext/zipfs.jar:/opt/java/jre/lib/ext/sunpkcs11.jar:/opt/java/jre/lib/ext/localedata.jar:/opt/java/jre/lib/ext/dnsns.jar:/opt/java/jre/lib/ext/bcprov-jdk16-1.45.jar:/home/pieber/.m2/repository/org/apache/karaf/apache-karaf/2.2.5/apache-karaf-2.2.5/lib/karaf-jaas-boot.jar:/home/pieber/.m2/repository/org/apache/karaf/apache-karaf/2.2.5/apache-karaf-2.2.5/lib/karaf.jar:.]
2012-03-08 14:48:35,737 | WARN | raf-2.2.5/deploy | ScalaCompiler
| r.compiler.ScalaCompiler$$anon$2 60 | 51 -
org.fusesource.slang.scala.deployer - 1.0.0.SNAPSHOT |
NoPosition:[loaded package loader org.apache.karaf.exception-2.2.5.jar
in 527ms]
At least this is definitely nothing in karaf but rather in the usage
of the scala compiler, a version conflict between JRE version & scala
version or something else...
Kind regards,
Andreas
[1] http://slang.fusesource.org/documentation/scala/index.html
On Thu, Mar 8, 2012 at 13:33, Guillaume Yziquel
<[email protected]> wrote:
> Le Thursday 08 Mar 2012 à 12:45:38 (+0100), Andreas Pieber a écrit :
>> with absolutely no idea about slang...
>>
>> have you install slang-scala feature or just the deploy bundle? This
>> one sounds that all bundles need to be available for slang to
>> correctly install url handlers, compilers, ...
>>
>> Kind regards,
>> Andreas
>>
>> [1]
>> http://fusesource.com/forge/git/slang.git/?p=slang.git;a=blob;f=features/src/main/resources/features.xml;h=f244b8ac42963c7560e08ea142765f31a9a1c427;hb=HEAD
>
> I have not installed the feature because the maven target didn't work,
> so I installed the bundles manually. But I did install all the bundles
> mentionned in the link above.
>
> --
> Guillaume Yziquel
> Crossing-Tech
> Parc Scientifique EPFL