I have also tried to import the Akka source as Eclipse project.
Unfortunately there are no Eclipse Project files in the Akka source.
Is there a patch for the Akka source that add Eclipse project files
for easy importing? It would also great if the jars where Akka depend
on are referenced with attached sources. This would make the browsing
in the source easy.
For now each user make it's own not so perfect solution.
Hopefully sbt 0.10 will release shortly and Heiko Seebergers sbt
plugin will be able to create eclipse
projectfiles for Akka. I have not tested it.
By the way 12 hours ago the Copyright note for the plugin changed to
Typesafe Inc.
So I expect there will be a Typesafe stack with
Scala, Akka, Eclipse and sbt including the SbtEclipse Plugin.
/Robert
On 2 Jun., 04:10, Patrik Nordwall <
patrik.nordw...@gmail.com> wrote:
> Eclipsify doesn't support multi module projects, as Akka.
>
> I use Eclipse with Akka, but I have created the projects manually, not difficult since all dependencies are in lib_managed, but it's not a long term solution.
>
> sbteclipse is probably the way to go, but I think we need to migrate to sbt 0.9 first.
https://github.com/weiglewilczek/sbteclipse
>
> /Patrik
>
> 1 jun 2011 kl. 11:44 skrev Markus Jais <
markus.j...@yahoo.de>:
>
>
>
> > Hello,
>
> > I am trying to get a deeper understanding of the Akka source code and for that I want to import the whole thing as an Eclipse project,
> > so I can play with the code, the tests and use Eclipse features like "F3" to go through the source code. Eclipse would be best as the
> > Scala plugin is now quite good and I know Eclipse very well from daily Java work.
>
> > I got the latest Akka source code with git and then I added the SBT Eclipse plugin to project/plugins/Plugins.scala
> > with:
> > lazy val eclipse = "de.element34" % "sbt-eclipsify" % "0.7.0"
>
> > and to:
> > project/build/AkkaProject.scala
>
> > with
>
> > import de.element34.sbteclipsify._
> > and addint the Eclipsify trait to the AkkaParentProjekt.
>
> > when doing
>
> > sbt reload update and then sbt eclipse, I get this:
>
> > java.lang.ClassCastException: AkkaParentProject cannot be cast to sbt.BasicScalaPaths
> > at de.element34.sbteclipsify.ClasspathFile.writeFile(ClasspathFile.scala:67)
> > at de.element34.sbteclipsify.Eclipsify$class.writeClasspathFile(SbtEclipsify.scala:71)
> > at AkkaParentProject.writeClasspathFile(AkkaProject.scala:17)
> > at de.element34.sbteclipsify.Eclipsify$$anonfun$eclipse$1.apply(SbtEclipsify.scala:43)
> > at de.element34.sbteclipsify.Eclipsify$$anonfun$eclipse$1.apply(SbtEclipsify.scala:40)