Le Thursday 08 Mar 2012 à 14:56:39 (+0100), Andreas Pieber a écrit : > 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
Yes, I also get something similar. Somewhat disappointed to see warnings instead of errors, but still, same problem. -- Guillaume Yziquel Crossing-Tech Parc Scientifique ÉPFL
