Android Code Snippet [B4X] Comment link to build b4xlib

Erel

Administrator
Staff member
Licensed User
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.
 

Filippo

Expert
Licensed User
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.
 

Erel

Administrator
Staff member
Licensed User
Question: why is this function not added as a menu option in the IDE?
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.
 
Top