Visar inlägg med etikett git. Visa alla inlägg
Visar inlägg med etikett git. Visa alla inlägg

2015-09-12

App Engine + Scala + Java + SBT + Eclipse

Combining Java App Engine with Scala and SBT, and Import to Eclipse

Forked and added Eclipse plugin, to in a easy way run a App Engine project in Eclipse and with Scala.

2015-09-02

Scala JS Target Folder

Scala JS: Set Target Folder for JavaScript Build

Recently I've been interested in  Scala JS. It would be great to share logic on client and server side and to write all code in Scala. But SBT can be a bit tricky and my project setup was divided into two:

  1. One webapp with a Java web container
  2. Scala JS with logic shared between frontend and backend
To get SBT to build the JavaScript from my Scala JS project to my webapp I needed to add the following lines in my root build.sbt file:

val jsDir = "../gae/src/main/webapp"
crossTarget in (Compile, fastOptJS) := file(jsDir)

Project combining Scala JS and Java web container

You can check out my project which uses this build at


2015-06-20

Google App Engine + Scala with Jersey + ScalaJs

Have been interested in ScalaJs for a while and wanted to use it and Scala with Jersey in Google App Engine. This is a first try to combine them.

GitHub Repository