• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

IntelliJ 14.0 doesn't compile fxml files

 
Greenhorn
Posts: 9
IntelliJ IDE Chrome Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Using new IntelliJ 14.0 I created simple JavaFX project with fxml file in the same package as main class. Unfortunately fxml file isn't compiled while building project. This is gradle project.
In previous version of IntelliJ (13.1.5) same project compiles with no problems.
 
Sheriff
Posts: 5555
326
IntelliJ IDE Python Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Perhaps you had a plugin installed in IntelliJ 13 to compile those files that you do not have installed in IntelliJ 14.

Does the project compile if you run Gradle from the command line?
 
Rancher
Posts: 387
30
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
FXML in Java 8 isn't a compiled format.

The XML files are parsed at runtime (not compile time) by the FXML Loader and Java reflection is used to instantiate the object tree to represent the FXML.

There has been experimental work to pre-compile FXML ahead of time, but that work is currently not part of the Java 8 JavaFX distribution.

I wonder what your real issue is.
 
Look! I laid an egg! Why does it smell like that? Tiny ad, does this smell weird to you?
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic