Porting Cassovary from Scala 2.9 to 2.10

44 views
Skip to first unread message

Vinod Kumar

unread,
Nov 6, 2013, 1:59:56 PM11/6/13
to twitter-...@googlegroups.com, Shrikrishna Holla
Hello,

This is regarding Porting Cassovary from Scala 2.9 to 2.10. 
We have made the following changes to cassovary:

1) Migrated from Scala actors to akka actors, which are used in SynchronizedDynamicGraphSpec.scala, because scala-actors is not a part of 2.10 anymore and is replaced by akka-actors

2) Changed net.lag logging to util.logging

3) Changed the library dependencies in project build to suit scala 2.10

The project builds successfully with 2.10 and all the test cases are successful but the issue which we encountered is that while maintaining backward compatibility scala 2.9.2 uses akka 2.0 version and scala 2.10 uses akka 2.1, so Await is present in scala.concurrent.duration in scala 2.10 and in akka.dispatch in scala 2.9.x .

So, we would like the community to point us to the right direction. Is there a way around for this? Are we missing something?

Thank You

Regards,
Vinod Kumar L
Shrikrishna Holla

Ajeet Grewal

unread,
Nov 7, 2013, 10:42:22 AM11/7/13
to twitter-...@googlegroups.com, Shrikrishna Holla
One way would be to determine the version of scala running, using "util.Properties.versionString". Once you have this, you can dynamically load the class you need using reflection, as long as the classpaths are setup correctly.

Although I would suggest avoiding this. Can you describe where you are using the Await? Is this something you have added? I don't see it in the code base currently.


--
You received this message because you are subscribed to the Google Groups "Cassovary" group.
To unsubscribe from this group and stop receiving emails from it, send an email to twitter-cassov...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.



--
Regards,
Ajeet
Reply all
Reply to author
Forward
0 new messages