Skip to content
jonifreeman edited this page Apr 11, 2013 · 1 revision

FAQ

Setup

I'm using Ensime/Emacs. How can I pass required system properties for Ensime's Scala compiler?

One way to do it is to pass those in ENSIME_JVM_ARGS environment variable:

ENSIME_JVM_ARGS="-Dsqltyped.url=jdbc:mysql://localhost:3306/mydb -Dsqltyped.driver=com.mysql.jdbc.Driver -Dsqltyped.username=root -Dsqltyped.password=" emacs

I'm using Eclipse. How can I pass required system properties for Eclipse's Scala compiler?

Better suggestions are welcomed but one way to pass those is in eclipse.ini:

$ grep sqltyped /opt/eclipse/eclipse.ini
-Dsqltyped.url=jdbc:mysql://localhost:3306/mydb 
-Dsqltyped.driver=com.mysql.jdbc.Driver
-Dsqltyped.username=root 
-Dsqltyped.password=