Starting a Gui application from within SBT (OSX)

21 views
Skip to first unread message

Maatary Okouya

unread,
Aug 15, 2014, 5:41:34 AM8/15/14
to simple-b...@googlegroups.com

I am trying to start a jface/swt application (I know oldschool but legacy demand),from within SBT. jface/swt application requires the option "-XstartOnFirstThread"

I have tried to add

javaOptions := Seq("-XstartOnFirstThread", "-d64"),
fork in run := true

But it does not work. Any idea how i can do that? or even if it possible?

Antoine Gourlay

unread,
Aug 15, 2014, 8:16:10 AM8/15/14
to simple-b...@googlegroups.com

See this SO question and answers. Apparently it only works with JDK6, but not JDK7 (haven’t tested)…



--
You received this message because you are subscribed to the Google Groups "simple-build-tool" group.
To unsubscribe from this group and stop receiving emails from it, send an email to simple-build-t...@googlegroups.com.
To post to this group, send email to simple-b...@googlegroups.com.
Visit this group at http://groups.google.com/group/simple-build-tool.
For more options, visit https://groups.google.com/d/optout.

Maatary Okouya

unread,
Aug 15, 2014, 8:46:04 AM8/15/14
to simple-b...@googlegroups.com
Yeah that's where i took the idea from, but it did not work for me. So i guess that's a no go. 


--
You received this message because you are subscribed to a topic in the Google Groups "simple-build-tool" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/simple-build-tool/t8XOweRhR-k/unsubscribe.
To unsubscribe from this group and all its topics, send an email to simple-build-t...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages