How to create Scala project in proper way?
Asked Answered
S

2

9

I would like to create project in scala, with proper directory structure, test directory etc. I'm completly new in Java stuff, so please tell me how to do it? Which tools (maven?) should I use? How to place test and configure them to see my project classes? I use eclipse as IDE. Any help - web resources, links I will appreciate :)

Shiflett answered 6/11, 2011 at 21:56 Comment(3)
Meanwhile I have learned that I should use maven, ant or stb.Lamasery
It's actually sbt and you should use that, not maven or ant (if possible)Fagin
I use maven all the time for scala projects because I'm working in a Java environment. It works great. You'd probably have a lot of problems with ant. It's biggest problem is that it is too flexible.Marchak
F
14

Most scala programmers use sbt, which by the way is also part of the Typesafe Stack

To create a project with it please follow the Getting Started Guide

Fagin answered 6/11, 2011 at 22:7 Comment(0)
K
0

If you're using Eclipse, you should probably use sbteclipse to generate your Eclipse project files. Then just import it (Import/General/Import existing project).

Kiblah answered 10/11, 2011 at 22:56 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.