Questions tagged [sbteclipse]

Plugin for sbt to create Scala IDE for Eclipse project definitions.

73 questions
55
votes
6 answers

How to have Eclipse recognize dependencies from SBT

I am trying to figure out how to make Eclipse recognize dependencies that are retrieved using SBT? SBT download the correct dependencies and puts them in my ~/.ivy directory but eclipse doesn't see them. Is there a way to do this? thanks
chiappone
  • 2,728
  • 3
  • 27
  • 32
15
votes
3 answers

Installing sbteclipse

i have problems top use sbteclipse What I have done: went to my global sbt folder. created a plugins folder created the file plugins.sbt with addSbtPlugin("com.typesafe.sbteclipse" % "sbteclipse-plugin" % "2.1.0") went to my eclipse project and…
Maik Klein
  • 15,548
  • 27
  • 101
  • 197
8
votes
3 answers

Exception when trying to upgrade to sbt eclipse 4.0.0

I have been successfully using sbt-eclipse 3.0.0 for some time now. I recently upgraded to Play 2.3.8, and need to upgrade to sbt-eclipse 4.0.0 to avoid this problem. I tried updating project/plugins.sbt, but get this error when running activator…
Adam Rabung
  • 5,232
  • 2
  • 27
  • 42
7
votes
2 answers

sbt: "impossible to get artifacts when data has not been loaded. IvyNode = org.antlr#stringtemplate;3.2.1"

This looks like an Ivy problem surfacing via sbt (0.11.2) when I invoke the sbt-eclipse plugin: > eclipse with-source=true ... [info] Resolving com.googlecode.linkedin-j#linkedin-j-core;1.0.416 ... [info] Resolving…
Yang
  • 16,037
  • 15
  • 100
  • 142
6
votes
5 answers

how to add sbteclipse plugin in eclipse

I am using sbt 0.13 and I would like to add sbteclipse plugin so that eclipse import my sbt project and I can write my scala code easily. While searching on the internet I got this link. I read all the instruction that to make plugins.sbt file and…
swaheed
  • 3,671
  • 10
  • 42
  • 103
6
votes
3 answers

Any way not to confuse sbt-eclipse if I just want everything in the top-level folder? (2.2.0 with 0.12.4)

I'm a high school teacher, and I'm using Scala to teach my Intro to Programming class. It's a little scary, but I'm excited. However, since these are beginners, I want to give them as simple a project structure as possible. In the beginning,…
Todd O'Bryan
  • 2,234
  • 17
  • 30
5
votes
3 answers

Creating Scala Project with Eclipse, sbteclipse -- directory layout

I am trying to use Eclipse as my IDE, and I have installed sbt as build tool and sbteclipse as build tool plugin for Eclipse. I followed a sbteclipse tutorial http://www.atsnippets.com/development/starting-with-simple-build-tool-sbt-for-scala.html…
chen
  • 4,302
  • 6
  • 41
  • 70
4
votes
1 answer

sbt command not found

I am installing sbt in my cloudera distribution. I have downloaded sbt.0.13.15 Moved file to /usr/local Then I had updated profile sudo nano profile Added export PATH=$PATH:/usr/local/sbt/bin Saved file and exited. But now if I issue "sbt about"…
DevPerson
  • 137
  • 1
  • 4
  • 12
4
votes
1 answer

How can I have an optional Sbt setting?

There is a project shared with multiple participants. Some participants installed a global sbteclipse at ~/.sbt/0.13/plugins/plugins.sbt, while other participants didn't. I want to put some sbt settings in the project's build.sbt,…
Yang Bo
  • 3,586
  • 3
  • 22
  • 35
4
votes
3 answers

sbteclipse additional source folders

How do I configure an extra folder for sbteclipse to include? I have a default sbt directory layout with an additional it/scala folder. I want that folder to be included in the generated .project and .classpath files, but I don't know how to do…
user1024435
  • 188
  • 1
  • 8
4
votes
0 answers

Add sbt plugins to Eclipse scala-ide

I have scala project that I use sbt to manage and I have a sbt plugin (sbt-twirl to be specific) that I need for the project. Now I would like to use Eclipse for editing/debugging the project. As usual, I used sbt-eclipse to generate the Eclipse…
Tathagata Das
  • 1,808
  • 15
  • 13
3
votes
1 answer

Setup sbteclipse in eclipse for Play framework

I am new in Play framework. I followed by this link, installed successfully, but now I want to integrate project on eclipse. I viewed official link from play, but I do not understand where to write addSbtPlugin("com.typesafe.sbteclipse" %…
Vinit Solanki
  • 1,863
  • 2
  • 15
  • 29
3
votes
1 answer

SBT Eclipse not generating projects for aggregating sub-projects

Assume a hierarchical project layout as the following: root -subproject1 -subproject2 where root only aggregates all subprojects. Calling eclipse in root, as expected, generates importable eclipse projects for all subprojects. However, now…
Jakob Odersky
  • 1,371
  • 11
  • 23
3
votes
1 answer

How to import sbt projects to Eclipse?

I want to import my sbt projects to Eclipse. While searching on the Internet I came to know there is an sbteclipse plugin for Eclipse to import sbt projects, but I don't know how to do this. I am using Eclipse Kelper and sbt 0.13 on Ubuntu 12.04…
swaheed
  • 3,671
  • 10
  • 42
  • 103
3
votes
0 answers

How to generate project files for Scala IDE with sbt-eclipse for builds with ProjectRefs?

I referenced to another project using the following code in project/build.scala: object MyProjectBuild extends Build { lazy val root = Project("my-project", file(".")) dependsOn(securesocial) lazy val securesocial =…
Amir Karimi
  • 5,401
  • 4
  • 32
  • 51
1
2 3 4 5