Questions tagged [sbt-idea]

A simple-build-tool (sbt) plugin/processor for creating IntelliJ IDEA project files

49 questions
5
votes
1 answer

Understanding How SBT, Scala, SBT-Idea and Play Framework Work Together

I am new and had built some simple Scala applications / tutorials using SBT. I move on to Play framework and generated an empty project using g8 typesafehub/play-scala. I did a few tests to make sure it was properly generated. That checked out good…
thlim
  • 2,908
  • 3
  • 34
  • 57
4
votes
2 answers

Sbt Unresolved Dependencies (Not a valid command: gen-idea)

I'm trying to get sbt to generate Intellij IDEA project files using the sbt-idea plugin as described here. [warn] :::::::::::::::::::::::::::::::::::::::::::::: [warn] :: UNRESOLVED DEPENDENCIES :: [warn] …
Didia
  • 1,396
  • 1
  • 12
  • 18
4
votes
1 answer

SBT assembly : Can you create an assembly jar of just one sub project in Multi project build?

I want to create a fat assembly jar for a sub project without having to generate jars for other projects or the whole global Project. How can I do that? From https://github.com/sbt/sbt-assembly I see that I can add Main Class or name of the jars for…
amateur-coder
  • 113
  • 1
  • 9
3
votes
2 answers

Roles of sbt-idea and Idea sbt plugin

If sbt-idea is used to create a sbt based intelliJ project, then what is the purpose of the sbt plugin in IntelliJ? Is it just to create an sbt console inside of IntelliJ or does it do more? Given this, is it still the correct process to first…
Jack
  • 16,506
  • 19
  • 100
  • 167
3
votes
1 answer

Can sbt-idea generate project files based on existing ones?

I have been using sbt and sbt-idea for a while and for the most part it works perfectly - unfortunately there is one key use case where it doesn't. The use case is when you are working on a project based on the output of gen-idea. Everything works…
Steven Levine
  • 3,665
  • 1
  • 16
  • 15
3
votes
4 answers

sbt-idea 1.2.0 unresolved for SBT 0.12.0 and Scala 2.10.0?

I am creating a new SBT project and here are the contents of my SBT files: build.properties sbt.version=0.12.0 plugins.sbt addSbtPlugin("com.github.mpeltonen" % "sbt-idea" % "1.2.0") build.sbt name := "peroo" version :=…
missingfaktor
  • 90,905
  • 62
  • 285
  • 365
3
votes
3 answers

How to attach SBT classes to Intellij Idea?

I have probably a silly problem. I would like to write SBT build script (Build.scala) in IntelliJ Idea but IDE does not recognize SBT classes (Build, Project, etc.). I attached sbt-launch.jar to the project but it didn't change anything since…
Jacek L.
  • 1,376
  • 14
  • 19
2
votes
1 answer

Why can't sbt 0.11 sbt-idea plugin generate a project correctly in my case? (details inside)

I've installed sbt 0.11 sbt-idea as its documentation says. It seems to work, but... It doesn't see a project's name (even having the project named, Idea project generated is named default-11eed1) It fails downloading some jars it…
Ivan
  • 63,011
  • 101
  • 250
  • 382
2
votes
0 answers

import sbt project to intellij result akka.actor.InvalidActorNameException

I am trying to import existing sbt project to intellij I am getting this error : akka.actor.InvalidActorNameException: actor name [simple-service-actor] is not unique! at…
igx
  • 4,101
  • 11
  • 43
  • 88
2
votes
1 answer

Can log level be changed for sbt plugin, say sbt-idea?

I'm using the sbt-idea plugin and in my metaproject and main project, I have a setting for logLevel := Level.Warn. This is effective at silencing all sub-warning messages from most of my build, but sbt-idea keeps printing out info messages. I'm…
Mysterious Dan
  • 1,316
  • 10
  • 25
2
votes
2 answers

How to setup IntelliJ + Scala + specs + sbt project?

I am trying to setup an empty sbt project with specs2 for Scala (2.10) with IntelliJ (12.1) support and I am getting this error when I do sbt compile on empty project directory: % sbt compile …
pathikrit
  • 32,469
  • 37
  • 142
  • 221
1
vote
1 answer

sbt-idea & sub-projects

If, say, your sbt project contained 50 sub projects. Is it possible to generate an intellij project where you specify a set of the sub projects comes from your repo and for the other set of sub projects are actually contained in the project file…
GIB
  • 51
  • 3
1
vote
3 answers

SBT 0.7.7 or 0.10.1 for wicket webapp project using jetty for dev

I'm new to Scala and wanting to develop a simple little Scala Wicket webapp to try it out. I would like to use Jetty as the server for my dev purposes and SBT as the build tool (definitely not maven please). Is SBT 0.10.1 a good choice, or is…
jpswain
  • 14,642
  • 8
  • 58
  • 63
1
vote
1 answer

Starting a new project with sbt-idea plugin

I am new to sbt and the sbt-idea plugin. I created a new project with the plugin and when opening the generated .idea file inside IntelliJ and compiling I am getting that "please specify compiler in Scala facet". When looking on the scala compiler…
mbdev
  • 6,343
  • 14
  • 46
  • 63
1
vote
1 answer

sbt.librarymanagement.ResolveException: unresolved dependency: com.github.mpeltonen#sbt-idea;1.6.0: not found

i have tried adding sbt plugins on the plugin.sbt of which i added addSbtPlugin("com.typesafe.sbt" % "sbt-play-enhancer" % "1.2.2") resolvers += "sbt-idea-repo" at "http://mpeltonen.github.com/maven/" addSbtPlugin("com.github.mpeltonen"…