aemoncannon/ensime — Issue #218: Having trouble passing properties to JDB in ENSIME
Author: rlvoyer
Created: 2012-02-02 20:07:26+00:00
State: open

I'm trying to make sure that a certain system property gets set when running the debugger in ENSIME. I've tried adding the property to my global JAVA_OPTS setting (in my .bash_profile) and I've also tried adding the property explicitly to the ensime-db-cmd-template like so:

(defcustom ensime-db-cmd-template
'("jdb" "-classpath" :classpath "-DmyProperty=foo" "-sourcepath" :sourcepath :debug-class :debug-args)
"The command to launch the debugger. Keywords will be relaced with data loaded from server."
:type 'string :group 'ensime-db)

But this doesn't seem to work. What's the best way to do this? And how can I go about evaluating and perhaps setting these variables interactively? Thanks!