B4J Question #PackagerProperty: IncludedModules question

DavideV

Active Member
Licensed User
Longtime User
Hello,
I wrote my own library to show custom dialogs.
One of them uses a webview to show special html formatted text and images.

I found that, to correctly build the standalone app, I need to add the
#PackagerProperty: IncludedModules javafx.web

It looks like this cannot be added to the compiled library itself: I added it in the main module of the library, but when compiling to library the property is excluded.
That means I need to add the property manually on every B4J app.

Is there a way to add the
#PackagerProperty: IncludedModules javafx.web
directly in the library?
Note that it is a regular library, not a B4Xlib.

Thank you very much
 

Star-Dust

Expert
Licensed User
Longtime User
Download the latest beta of B4J and you won't need it anymore

 
Upvote 0

DavideV

Active Member
Licensed User
Longtime User
Download the latest beta of B4J and you won't need it anymore

:rolleyes:
Then maybe I'm doing something wrong because I am using the latest V9.00 beta version...
 
Upvote 0

Star-Dust

Expert
Licensed User
Longtime User
:rolleyes:
Then maybe I'm doing something wrong because I am using the latest V9.00 beta version...
Then you are back in those cases that version 9 does not help ? ? ?

directly in the library?
Note that it is a regular library, not a B4Xlib.

Thank you very much
It seems to me that it is not possible, you have to enter it in the Main of the App
 
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
Note that it is a regular library, not a B4Xlib.
This is a mistake. Create b4xlibs. They are simple to create and are more powerful.

Starting with v9.00 you can add such properties to the manifest.txt.
B4X:
Extra= {"PackagerProperty": { "IncludedModules": "javafx.web"}}
 
Upvote 0
Top