These are chat archives for sbt/sbt

9th
Jun 2016
Rohit Raj
@RohitRaj2017
Jun 09 2016 04:50
Hi I am new to scala
How can i create a SBT project in Scala IDE
thirstycrow
@thirstycrow
Jun 09 2016 08:24
Is it possible to publish a pure java module? (With no scala compatible version appended to the artifactId, and no scala-library in the dependencies of the generated pom)
Vadim Chelyshov
@dos65
Jun 09 2016 09:05
@thirstycrow
crossVersion := CrossVersion.Disabled
publishArtifact in (Assembly, packageScala) := false
thirstycrow
@thirstycrow
Jun 09 2016 09:09
error: not found: value Assembly
Vadim Chelyshov
@dos65
Jun 09 2016 09:18
thirstycrow
@thirstycrow
Jun 09 2016 09:24
@dos65 It works great. :+1:
sowmyamoracle
@sowmyamoracle
Jun 09 2016 10:20
not found: value main error is thrown in "hello, World" play project,

package controllers

import play.api._
import play.api.mvc._

class Application extends Controller {
def index = Action {
Ok("Hello world")
}

}

index.scala.html;

@(message: String)

@main("Welcome to Play") {

<h1>"Hello, World"</h1>
}

Simeon H.K. Fitch
@metasim
Jun 09 2016 20:29
@sowmyamoracle What's the error (and can you please format it with markdown)?
Eric K Richardson
@ekrich
Jun 09 2016 22:08
Hi @RohitRaj2017, I think if you 1. install sbt (http://www.scala-sbt.org/release/docs/Setup.html) and follow the link for "simple hello world" and create the app and then 2. follow the instructions for the eclipse plugin (https://github.com/typesafehub/sbteclipse/wiki/Installing-sbteclipse) And then do the following steps. Start sbt in the directory of your hello app and then type eclipse to create the project files. Then open ScalaIDE and import the hello project. I know this is allot but it will be worth it. Reading the two links will give you a ton more info. Hopefully this will get you close. Let us know how it goes.