typesafehub/sbteclipse — Issue #61: sbteclipse should handle project source dependency sensibly
Author: yuesong
Created: 2011-11-23 18:22:00+00:00
State: open

When a project has a source dependency on a git hub project, the eclipse project generated will have a dependency on a "default-xxxxxx" project which is no where to be found. I attached the detailed description of the issue, which is a message I posted to sbt user group. Not sure if this is beyond the scope of sbteclipse, but if it cannot be handled seamlessly, is there a reasonable workaround?

Thanks,

Yuesong

----------------------------------------------------
Post to sbt user group about the issue:

Hi,

I'm trying to use net.databinder dispatch 0.8.6 with its dispatch-lift-json module 0.1.0. According to the documentation, dispatch-lift-json should be my project's source dependency, so that's how I set it up:

lazy val root = Project("root", file("."), settings = ...) dependsOn(dispatchLiftJson)

lazy val dispatchLiftJson = uri("git://github.com/dispatch/dispatch-lift-json#0.1.0")

Then I use sbteclipse to generate the eclipse project with "eclipse with-sources same-targets". But the eclipse project complains about "missing required java project: 'default-3dfb39'", which corresponds to the dipsatch-lift-json source dependency. I understand this is more of a sbteclipse plugin issue than a sbt one, but I want to ask here to see if anyone has a workaround for this? Specifically, is dispatch-lift-json project downloaded somewhere and named default-3bfb39? If that's the case, I don't mind generating an eclipse project for it so that my project's dependency on it can be satisfied. But I could not find it anywhere, not under my project, nor in ~/.ivy2 or ~/.sbt.

Any ideas? Thanks,

Yuesong