Hi Erel,
I only found this function today, and I can say that it is really very useful.
Question: why is this function not added as a menu option in the IDE?
It would be much better for many other users, because as a link comment can get lost.
Because there are many options and different cases. You will quickly see, with real b4xlibs, that you need more flexibility and will actually use a batch file (that can be run with a comment link) to create the library.
This is based on the new comment link feature. It will work with B4A, B4i and B4J versions to be released next week (July 8, 2020). It will not work with current betas.
B4X:
'Click to build b4xlib: ide://run?file=%JAVABIN%\jar.exe&WorkingDirectory=..&Args=-cMf&Args=LibraryNameHere.b4xlib&&Args=..&Args=*.bas&Args=manifest.txt
It zips the modules files and a manifest.txt file that is expected to be in the same folder.
'Click to build b4xlib: ide://run?file=%JAVABIN%\jar.exe&WorkingDirectory=Place_your_folder_here..&Args=-cMf&Args=LibraryNameHere.b4xlib&&Args=..&Args=*.bas&Args=manifest.txt
And the destination b4xlib file must be in the same folder as the .bas and manifest.txt files
P.S.: And if you want to edit a b4xlib library, rename it to the .zip extension to be able to unzip and access the .bas and manifest.txt files
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.