![]() ![]() drwxrwxr - x 3 jrp jrp 4096 Jul 2 17 : 40 bin - rw - rw - r - 1 jrp jrp 132 Jul 2 17 : 08 build. classpath drwxrwxr - x 2 jrp jrp 4096 Jul 2 17 : 07 lib drwxrwxr - x 3 jrp jrp 4096 Jul 2 17 : 08 project - rw - rw - r - 1 jrp jrp 363 Jul 2 17 : 35.Ĭache - main - rw - rw - r - 1 jrp jrp 15033 Jul 2 17 : 35. Settings drwxrwxr - x 4 jrp jrp 4096 Jul 2 16 : 59 src drwxrwxr - x 5 jrp jrp 4096 Jul 2 17 : 09 target project drwxrwxr - x 2 jrp jrp 4096 Jul 2 17 : 35. Now Go to eclipse, and import the projectįile -> import -> General (Existing Project into workspace) -> Browse to SimpleApp Folder -> Next -> Finish ![]() Right click on src/main/scala -> new -> scala objectĬreate input-dirdirectory in the root of project directory in eclipse and put one text file Create an SBT configuration for your project (build.sbt or project/X.scala). Any change to SBT files will trigger esbt to update dependencies and reconfigure the eclipse project. ![]() One can manually trigger the update by choosing 'SBT Update Project Configuration' from the project context menu. ![]() Paste the below content in MainApp.scala and save the file One can issue an SBT command by choosing 'SBT. Jrp :~/ workspace_1 / SimpleApp $ sbt run Executing in batch mode. For better performance, hit to switch to interactive mode, or consider launching sbt without any commands, or explicitly passing ' shell ' Loading global plugins from / home / jrp /. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |