Niclas Hedhman a écrit :
Are we Ok with a Scala dependency on Qi4j Core??
It depends on what it really means.
If I use Qi4j in a Java only project, having the scala jars coming in is
not an option.
At this very moment on my local copy, I do
private boolean isScalaTrait( Class<?> declaringClass )
{
return ScalaObject.class.isAssignableFrom( declaringClass );
}
but, I could modify that to walk the parents and see if any (top one)
is named "scala.ScalaObject" instead.
At the moment, this is the only Scala dependency in here, but I am
pretty sure that soon we should add Scala collection support and
possibly other useful types for serialization. So, shall I delay the
introduction of the Scala dependency, or Ok to put it in right away
and give people some time to get the IDEs to work with Scala (was not
trivial for me)?
Couldn't it be in qi4j-runtime-scala and/or qi4j-scala-support module?
Cheers
/Paul
_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev