Setting a jvm option with xsbt-plugin

12 views
Skip to first unread message

des.m...@gmail.com

unread,
Sep 20, 2014, 7:34:55 AM9/20/14
to simple-b...@googlegroups.com
Hi

I want to pass an environment variable when running container:start from sbt. So I have tried adding

 javaOptions in container := Seq("-Dmyvar=xxx")

to my build.scala, as outlined in the xsbt plugin documentation. But this is having no effect when I run container:start. Can someone suggest what I might be missing?

Thanks
Des
Reply all
Reply to author
Forward
0 new messages