B4J Question Compiling to library

Daestrum

Expert
Licensed User
Longtime User
I understand that using compile to library the main module is ignored and not output to the library jar/xml.

If the module that will become the library relies on jars loaded by the main module
#additionalJar: …. as you cannot put #additionaljar: in the module.

These do not get imported into the library jar, thus the library will not work unless you put all the additionaljar lines in the main module of the app using the library.

Is there a way to force the additional jars to be put into the library?
 

Daestrum

Expert
Licensed User
Longtime User
Yes I see that , maybe I was unclear. I meant copy the jars into the library jar so it needs no external references.

If I compile an app I get a jar size of 30+meg which has the additional jar classes in.
The library jar is 3k and does not have the classes in from the additional jars
 
Upvote 0

Daestrum

Expert
Licensed User
Longtime User
Thank you for the explanation.
 
Upvote 0
Top