Re: Scala support in Apache Felix

2015-10-13 Thread Frank Langel
Nice thank you On 10/13/15, 1:50 AM, "developm...@mobigov.com" wrote: > > >I use scala with OSGI. There is a scala tutorial out there that works >with the akka-osgi bundle. >http://doc.akka.io/docs/akka/snapshot/additional/osgi.html I use the >maven-bundle-plugin to build my projects that ha

Unable to reach Groovy script Engine from an other OSGI bundle

2015-10-13 Thread KingSaladin
I am trying to test groovy scripting from withing my first new bundle deployed under Felix. I installed successfully the groovy-all.jar as a bundle via the GOGO shell console: g! lb START LEVEL 1 ID|State |Level|Name . * 33|Active |1|Groovy Runtime (2.1.6)* Than i created

Re: Unable to deploy and test Apache Felix Web Console & Script Console Plugin

2015-10-13 Thread KingSaladin
Ok great ! Thank you all for your replies i could finally get the console installed and tested. I have though few questions regarding multi-scripting support as far as Felix core module is concerned, i mean i want to know how it is implemented inside Felix to support many script engines? where to

Re: Unable to reach Groovy script Engine from an other OSGI bundle

2015-10-13 Thread KingSaladin
MyOSGIBundleSample.zip Here is an updated version of my bundle project. I added the Felix OSGiScriptEngineManager to deal with what i suspect to be a class loading issue ( not sure though) but i am still facing a java

RE: Unable to reach Groovy script Engine from an other OSGI bundle

2015-10-13 Thread Paulo Renato de Athaydes
The class implementing ScriptEngine is loaded by reflection after being found in the classpath at META-INF/services/javax.script.ScriptEngineFactory Groovy jars have this declaration in this file: org.codehaus.groovy.jsr223.GroovyScriptEngineFactory I believe the bundle which creates the ScriptEn

RE: Help in using your Quartz OSGi bundle

2015-10-13 Thread Pedro Domingues
Thank you guys for your suggestions. I am gonna try them to see what fits best! Best regards On October 12, 2015 10:28:09 PM WEST, Paulo Renato de Athaydes wrote: >Yeah, I had already suggested that was probably the best solution >My previous message had a huge blank space in the middle w

Re: Unable to deploy and test Apache Felix Web Console & Script Console Plugin

2015-10-13 Thread Chetan Mehrotra
Script Console plugin code is at [1] which you can have a look. In brief the bundle looks for other bundles having file /META-INF/services/javax.script.ScriptEngineFactory and then keep a registry of supported script engines. The webconsole plugin then looks up the write engine implementation based