This contains some scala examples as a part of scala training. To import this project in Scala IDE (eclipse) as a scala project, follow the following steps-
- Download this project as zip file.
- Extract the zip file.
- In scala IDE, select File > Import > Maven > Existing Maven projects.
- Click browse and select the extracted saama-scala-training-master project.
- Click Finish (The project should appear on Package explorer panel).
- Right click on the project and select Configure > Add scala nature.
- Expand the src directory tree (src > main > scala).
- Right click on scala and select Build path > Use as source folder.
- The scala src/main/scala folder should now appear as source folder.
- To test, open FunctionalStyle.scala (To open the file, expand the package org.arpit.scala.training.day1 or click Cntl + shift + r and type FunctionalStyle).
- Right click on the file and select Run as > Scala application.
Video tutorial for importing the project is here