This page is no longer maintained — Please continue to the home page at www.scala-lang.org

sbt , sbteclipse & withSources

3 replies
Konstantine Kougios
Joined: 2011-04-08,
User offline. Last seen 47 weeks 2 days ago.

Hi, I am struggling for some time now to enable withSources for
sbteclipse. When I do

build.sbt:
withSources:=true

I get that withSources can't be reassigned as it is a val.

I've included sbteclipse via .sbt/plugins/plugins.sbt.

Any idea how to set this up?

Thanks,

Kostas

Konstantine Kougios
Joined: 2011-04-08,
User offline. Last seen 47 weeks 2 days ago.
Re: sbt , sbteclipse & withSources

Also src/main/resources is not added to the classpath => resources
can't be used.

Joshua.Suereth
Joined: 2008-09-02,
User offline. Last seen 32 weeks 5 days ago.
Re: sbt , sbteclipse & withSources

You should probably report these on the sbteclipse tracker.

You can run simple "eclipse withSources" to generate an eclipse project with source jars included.

On Jan 3, 2012 12:05 PM, "Kostas Kougios" <kostas.kougios@googlemail.com> wrote:
Hi, I am struggling for some time now to enable withSources for
sbteclipse. When I do

build.sbt:
withSources:=true

I get that withSources can't be reassigned as it is a val.

I've included sbteclipse via .sbt/plugins/plugins.sbt.

Any idea how to set this up?

Thanks,

Kostas
Konstantine Kougios
Joined: 2011-04-08,
User offline. Last seen 47 weeks 2 days ago.
Re: sbt , sbteclipse & withSources
I see,ok it might be a bug then. I've opened an issue:

https://github.com/typesafehub/sbteclipse/issues/72

In the meantime I'll use 'eclipse withSources'

Cheers

On 03/01/12 17:52, Josh Suereth wrote:
CAFLqJkw2FNXxCjb9USmN4FQCCfhoj_wU3eFgwBDPSVKDPzWFzA [at] mail [dot] gmail [dot] com" type="cite">

You should probably report these on the sbteclipse tracker.

You can run simple "eclipse withSources" to generate an eclipse project with source jars included.

On Jan 3, 2012 12:05 PM, "Kostas Kougios" <kostas [dot] kougios [at] googlemail [dot] com" rel="nofollow">kostas.kougios@googlemail.com> wrote:
Hi, I am struggling for some time now to enable withSources for
sbteclipse. When I do

build.sbt:
withSources:=true

I get that withSources can't be reassigned as it is a val.

I've included sbteclipse via .sbt/plugins/plugins.sbt.

Any idea how to set this up?

Thanks,

Kostas

Copyright © 2012 École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland