Javafx 17 and moditect no longer working

Clemens Lanthaler clemens.lanthaler at itarchitects.at
Fri Sep 10 10:47:54 UTC 2021


Hello everyone,

I have just updated from javafx 17-ea+14 to the GA release and I am not 
able to build one of my projects (PhotoSlide, librawFX, JeditFX, ...) 
anymore. The root cause is that via maven the it downloads for each 
component two files (e.g. javafx-base.jar nad javafx-base-mac.jar). The 
first one contains only the MANIFEST file and nothing more. The problem 
I have is that until ea+14 the MANIFEST file contained to 
automatic-module-name and therefore moditect or similar tools can pick 
this name up. Now the automatic module name is missing in this MANIFEST 
file and therefore moditect is no finding any module naming anymore and 
try to use the file name instatt. The problem is that this results in a 
module name "javafx.base" which is also defined in module-info.class 
inside of javafx-base-mac.jar. In this case moditect cannot proceed 
because of duplicate items.

Question from my side: Why is this extra jar file necessary ? If it is 
necessary is there a possability to get back the automatic-module-nam 
entry in the MANIFEST file ?

cheers,
Clemens

-- 
ITArchitects
CEO: B.Sc. Clemens Lanthaler
Forchachstrasse 3
A-6166 Fulpmes
Tel.: +43 (0)650 855 2954
email: office at itarchitects.at
homepage: http://www.itarchitects.at
-------------------------------------------------
Notice: This e-mail and any attachments are confidential and may be privileged.
If you are not the intended recipient, notify the sender immediately, destroy all
copies from your system and do not disclose or use the information for any purpose.
Diese E-Mail inklusive aller Anhaenge ist vertraulich und koennte bevorrechtigtem
Schutz unterliegen. Wenn Sie nicht der beabsichtigte Adressat sind, informieren Sie
bitte den Absender unverzueglich, loeschen Sie alle Kopien von Ihrem System und
veroeffentlichen Sie oder nutzen Sie die Information keinesfalls, gleich zu welchem Zweck.



More information about the openjfx-dev mailing list