I have just started working through the new Coursera course on Scala, and thought it would be fun and bring Kojo some publicity to show how Kojo can be used as a nice IDE etc. for adults and kids alike. The course exercises are in the form of sbt project templates. Can they be 'imported' into Kojo in a similar way as to how you would import into eclipse, for example?
Date: 28 Sep 2014 14:14
Number of posts: 2
RSS: New posts
This might take a little work the first time around, but should be very doable. The basic idea would be to:
- go into an exercise directory, and start up Kojo with a shell script that sets KOJO_CLASSPATH to the appropriate jars before launching Kojo (or copy/link the required jars inside the ~/.kojo/lite/libk folder, but that would be global, not project specific).
- use the //#include feature in the script editor to pull in exercise code.
I hope that points you in the right direction. Feel free to ask questions about any problems that you encounter while trying this.