a question for @Erel
Is it possible to insert a library compiled by me in a B4xLib and expose it?
I explain the need
I create a class and would like to expose its properties without making the code editable
doing it with a B4xLib allows me to take advantage of both the Manifest file and the Files folder
sure @DonManfred , but if you read everything everything maybe you understand
giving an unnecessary answer is an unnecessary waste of time
maybe the translation done with google is not clear?
Compile the class to a library xy, creeate a b4xlib with the manifest and files. Reference the compiled Class in the dependson. Surely you need to publish both, b4xlib and compiled class...
I tried exactly like that
but the references are fine for libraries that are present, it does not work for files inside the B4xLib
or at least it doesn't work for me
nb. I use GoogleTranslate
I wrote that you need to publish the compile class too. And the user need to copy them to the additional libs folder. You can not put them into the b4xlib
See b4xtable b4xlib as an example....
It references xclv for ex, but xclv is not included in the b4xlib file.
It is not possible to insert a compiled library inside B4XLib and recall it inside the B4XLib. I think @DonManfred 's answer is accurate. Only source that you can read or publish two libraries one compiled and another B4XLib which refers to the other.
just this limit I would like to overcome
for example it is possible to use or reference a jar file, I wanted to know if it is possible to reference a jar inside the b4xlib
for example
to use SQLite with b4j I put
#AdditionalJar: sqlite-jdbc-3.7.2
is it possible to use the same system with the Lib I compiled as a jar?
As answered above you cannot include another jar INSIDE the b4xlib. You can reference the jar with DependsOn from the b4xlib and distribute the two files together.