LordZenzo Well-Known Member Licensed User Longtime User Mar 26, 2020 #1 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
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
DonManfred Expert Licensed User Longtime User Mar 26, 2020 #2 b4xlib includes the Source. If you do not want the code to be editable then compile the class to a library and publish the library. jar and xml Upvote 0
b4xlib includes the Source. If you do not want the code to be editable then compile the class to a library and publish the library. jar and xml
LordZenzo Well-Known Member Licensed User Longtime User Mar 26, 2020 #3 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? Upvote 0
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?
DonManfred Expert Licensed User Longtime User Mar 26, 2020 #4 LordZenzo said: maybe the translation done with google is not clear? Click to expand... I do not use Google Translate LordZenzo said: doing it with a B4xLib allows me to take advantage of both the Manifest file and the Files folder Click to expand... 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... Upvote 0
LordZenzo said: maybe the translation done with google is not clear? Click to expand... I do not use Google Translate LordZenzo said: doing it with a B4xLib allows me to take advantage of both the Manifest file and the Files folder Click to expand... 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...
LordZenzo Well-Known Member Licensed User Longtime User Mar 26, 2020 #5 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 Upvote 0
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
DonManfred Expert Licensed User Longtime User Mar 26, 2020 #6 LordZenzo said: but the references are fine for libraries that are present, it does not work for files inside the B4xLib Click to expand... 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. Upvote 0
LordZenzo said: but the references are fine for libraries that are present, it does not work for files inside the B4xLib Click to expand... 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.
Star-Dust Expert Licensed User Longtime User Mar 26, 2020 #7 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. Upvote 0
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.
LordZenzo Well-Known Member Licensed User Longtime User Mar 26, 2020 #8 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? Upvote 0
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?
Erel B4X founder Staff member Licensed User Longtime User Mar 27, 2020 #9 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. Upvote 0
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.