Differences
This shows you the differences between two versions of the page.
Both sides previous revision
Previous revision
|
Next revision
Both sides next revision
|
spark:using-scala [2014/11/11 09:29] straka |
spark:using-scala [2014/11/11 09:31] straka |
- copy ''/net/projects/spark/sbt/spark-template.sbt'' to your project directory and rename it to your project name (i.e., ''my-best-project.sbt'') | - copy ''/net/projects/spark/sbt/spark-template.sbt'' to your project directory and rename it to your project name (i.e., ''my-best-project.sbt'') |
- replace the ''spark-template'' by your project name in the first line (i.e., ''name := "my-best-project"'') | - replace the ''spark-template'' by your project name in the first line (i.e., ''name := "my-best-project"'') |
- run ''sbt package'' (note that first run of ''sbt'' will take several minutes) | - run ''sbt package'' to create JAR (note that first run of ''sbt'' will take several minutes) |
The resulting JAR can be found in ''target/scala-2.10'' subdirectory, named after your project. | The resulting JAR can be found in ''target/scala-2.10'' subdirectory, named after your project. |
| |