It’s definitely possible. Scala compiles to bytecode which can be analysed for 
dependencies just like Java. Your bundles will import packages like scala.lang 
etc, so of course you need to install a bundle that exports those. I think the 
Scala runtime is already available as bundles. Just be aware that Scala does 
NOT use semantic versioning (e.g. 2.10 to 2.11 is a breaking change).

The main problem however is tooling. Last time I looked at it the Scala IDE was 
really terrible, but I was still able to set it up along with Bndtools so that 
the Scala Builder executed just before the Bndtools Builder. Hopefully Scala 
IDE has improved by now, but you’re certainly going to have to fiddle a lot to 
get a build process that you’re happy with.

Neil



> On 12 Oct 2015, at 17:48, Frank Langel <fr...@frankjlangel.com> wrote:
> 
> Hello, 
> 
> Does anyone have experience developing OSGI modules in Scala using Felix? Any 
> input would be highly appreciated
> 
> Best
> Frank
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@felix.apache.org
For additional commands, e-mail: users-h...@felix.apache.org

Reply via email to