edvin / tornadofx

Lightweight JavaFX Framework for Kotlin
Apache License 2.0
3.67k stars 270 forks source link

OSGI archetype crashes on MAC #183

Closed ronsmits closed 8 years ago

ronsmits commented 8 years ago

when you remove the Styles.class reference in DashboardApp.kt (and clean the felix cache) it will startup correctly.

screenshot 2016-09-16 21 22 34
edvin commented 8 years ago

I think I saw this a while back and fixed it, I will try with 1.5.6-SNAPSHOT and get back to you :)

ronsmits commented 8 years ago

Dont know if this is relevant:

felix-framework-5.4.0 $ java -jar bin/felix.jar
Waiting for JavaFX Runtime Startup____________________________
Welcome to Apache Felix Gogo

g! .[Done]
Waiting for Primary Stage to be initialized..[Done]
Sep 16, 2016 9:24:41 PM com.sun.javafx.css.parser.CSSParser term
WARNING: CSS Error parsing '*{-fx-background-color: ;}: Unexpected token ';' at [1,24]

This is with the standard code from the maven project with the Styles::class removed

edvin commented 8 years ago

I can confirm that I see the same behavior. Working on it now.

edvin commented 8 years ago

This was solved in TornadoFX 1.5.5, but the bundle included 1.5.4. I have upgraded it to include 1.5.6-SNAPSHOT (which will probably be the release or very close to it), so now it should work :)