There are several projects on Github that have sbt makefiles. It seems that there are two ways to compile these:
- Install sbt and compile the project with sbt. This will install scala compiler and libraries, which seems wasteful because these are already installed as part of the Scala IDE.
- Convert the makefile to an Eclipse project with sbteclipse. Will this use the Scala installation inside the Scala IDE?
What is the recommended way to compile sbt projects on Github? I am interested in the resulting jars only becaus I want to use them in my Scala projects.
--You received this message because you are subscribed to the Google Groups "Scala IDE User" group.To unsubscribe from this group and stop receiving emails from it, send an email to scala-ide-use...@googlegroups.com.To view this discussion on the web visit https://groups.google.com/d/msgid/scala-ide-user/d2be5e19-fb9e-4692-884e-468291b57d2c%40googlegroups.com.For more options, visit https://groups.google.com/d/optout.
There are several projects on Github that have sbt makefiles. It seems that there are two ways to compile these:
- Install sbt and compile the project with sbt. This will install scala compiler and libraries, which seems wasteful
What is the recommended way to compile sbt projects on Github? I am interested in the resulting jars only becaus I want to use them in my Scala projects.
--
There is no IDE actually compatible with SBT builds. All SBT compatibility plugins builds project configuration native to an IDE that should be equal to SBT one. But SBT has abilities that could not be reproduced as IDE configuration. And if project uses such features, IDE could not catch the project at all. There would be much better if an IDE would employ SBT directly and build GUI frontent for SBT backend. But neither one goes this way, so there is no true compatibility between SBT and IDE
On Monday, June 27, 2016 at 4:19:12 AM UTC+3, nafg wrote:On Wed, Jun 22, 2016, 9:09 AM <boris....@gmail.com> wrote:There are several projects on Github that have sbt makefiles. It seems that there are two ways to compile these:
- Install sbt and compile the project with sbt. This will install scala compiler and libraries, which seems wasteful
In the sense of needing those extra few megabytes? Or just that it feels inelegant?> because these are already installed as part of the Scala IDE.> 2. Convert the makefile to an Eclipse project with sbteclipse.That requires SBT and will run the updateClassifiers (IIRC) task, so it will download everything in #1, possibly more, because of sources and javadocs.> Will this use the Scala installation inside the Scala IDE?What is the recommended way to compile sbt projects on Github? I am interested in the resulting jars only becaus I want to use them in my Scala projects.
--You received this message because you are subscribed to the Google Groups "Scala IDE User" group.To unsubscribe from this group and stop receiving emails from it, send an email to scala-ide-use...@googlegroups.com.To view this discussion on the web visit https://groups.google.com/d/msgid/scala-ide-user/d2be5e19-fb9e-4692-884e-468291b57d2c%40googlegroups.com.For more options, visit https://groups.google.com/d/optout.
--You received this message because you are subscribed to the Google Groups "Scala IDE User" group.To unsubscribe from this group and stop receiving emails from it, send an email to scala-ide-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/scala-ide-user/1fc4953e-07e6-4732-a738-6f0671a8ed74%40googlegroups.com.
There is no IDE actually compatible with SBT builds. All SBT compatibility plugins builds project configuration native to an IDE that should be equal to SBT one. But SBT has abilities that could not be reproduced as IDE configuration. And if project uses such features, IDE could not catch the project at all. There would be much better if an IDE would employ SBT directly and build GUI frontent for SBT backend. But neither one goes this way, so there is no true compatibility between SBT and IDEThis is correct. Unfortunately, sbt was never seen by its authors as a foundation for IDEs, therefore building an IDE on top of it would result in a lot of pain. The current solution of converting sbt project files to IDE project files is only marginally less painful but at least it works in most of the cases.
--On Monday, June 27, 2016 at 4:19:12 AM UTC+3, nafg wrote:On Wed, Jun 22, 2016, 9:09 AM <boris....@gmail.com> wrote:There are several projects on Github that have sbt makefiles. It seems that there are two ways to compile these:
- Install sbt and compile the project with sbt. This will install scala compiler and libraries, which seems wasteful
In the sense of needing those extra few megabytes? Or just that it feels inelegant?> because these are already installed as part of the Scala IDE.> 2. Convert the makefile to an Eclipse project with sbteclipse.That requires SBT and will run the updateClassifiers (IIRC) task, so it will download everything in #1, possibly more, because of sources and javadocs.> Will this use the Scala installation inside the Scala IDE?What is the recommended way to compile sbt projects on Github? I am interested in the resulting jars only becaus I want to use them in my Scala projects.
--You received this message because you are subscribed to the Google Groups "Scala IDE User" group.To unsubscribe from this group and stop receiving emails from it, send an email to scala-ide-use...@googlegroups.com.To view this discussion on the web visit https://groups.google.com/d/msgid/scala-ide-user/d2be5e19-fb9e-4692-884e-468291b57d2c%40googlegroups.com.For more options, visit https://groups.google.com/d/optout.
--You received this message because you are subscribed to the Google Groups "Scala IDE User" group.To unsubscribe from this group and stop receiving emails from it, send an email to scala-ide-use...@googlegroups.com.To view this discussion on the web visit https://groups.google.com/d/msgid/scala-ide-user/1fc4953e-07e6-4732-a738-6f0671a8ed74%40googlegroups.com.For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "Scala IDE User" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scala-ide-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/scala-ide-user/15591451b0f.da0fb99b9776.6859791977463149303%40antoras.de.
On Mon, Jun 27, 2016, 5:51 AM Simon Schäfer <ma...@antoras.de> wrote:There is no IDE actually compatible with SBT builds. All SBT compatibility plugins builds project configuration native to an IDE that should be equal to SBT one. But SBT has abilities that could not be reproduced as IDE configuration. And if project uses such features, IDE could not catch the project at all. There would be much better if an IDE would employ SBT directly and build GUI frontent for SBT backend. But neither one goes this way, so there is no true compatibility between SBT and IDEThis is correct. Unfortunately, sbt was never seen by its authors as a foundation for IDEs, therefore building an IDE on top of it would result in a lot of pain. The current solution of converting sbt project files to IDE project files is only marginally less painful but at least it works in most of the cases.I don't understand what is so painful about the approach intellij takes (afaict) -- basically the ide invokes one of the update tasks and parses the output.
To view this discussion on the web visit https://groups.google.com/d/msgid/scala-ide-user/CANpg8PCLXWa3gS1u%2BwOuKsopxYfE0mNYVS2tkoYf-UkUuG_HZQ%40mail.gmail.com.