Provides:
- IDE project generation (Eclipse and IntelliJ IDEA)
- Unit-Test support out-of-the box
Requires:
- SBT 0.13 (to use SBT 0.12 switch to branch sbt12)
- Scala 2.10.3 (you will need an IDE that supports it)
- An IDE with unit-testing support, like:
- Eclipse with the Scala-IDE plugins
- IntelliJ IDEA with the Scala plugin
- Install SBT (0.13 or later)
- Clone this repository to your local computer
cd dojo-quickstart- Type
sbt - On the SBT prompt type either
eclipseorgen-ideato generate Eclipse and IntelliJ IDEA project files. - Import the project into your IDE.
- Start coding! ;-)
If you want to change the generic names of this quick-start project, follow these instructions:
- Remove the project from the IDE and exit sbt
- Rename the directory to your liking
- Go to
build.sbtand change thenameof the project - Enter
sbtagain and re-generate the IDE project either witheclipseorgen-idea - Import the project into your IDE
- Change the name of the main classes, packages, etc.
When re-naming packages, make sure that you rename them both under "main" and "test".