Other [Tool] b4xlib - XML generation

Erel

Administrator
Staff member
Licensed User
b4xlibs do not require an XML file. The IDE parses the packed code modules.
With this tool you can generate the XML from the packed source code. It is useful for documentation purposes as there are tools that expect this XML.
For example: https://www.b4x.com/android/forum/threads/java-auto-generate-library-documentation-with-xml2bb.18564/#content

The parser is not very sophisticated and will not always be 100% correct.

Note that the XML files shouldn't be kept in the libraries folder as the IDE will show an error message about a missing jar file.

Depends on jDragandDrop2.b4xlib: https://www.b4x.com/android/forum/threads/jdraganddrop2-drag-and-drop.76168/#post-636391
And Archiver: https://www.b4x.com/android/forum/threads/21688/#content

Source code and executable jar are attached.

Updates

V1.22 - Fixes an issue where the return type of subs without parameters was not added. Thank you @stevel05!
V1.21 - The full event signature is added.
V1.20 - Class events are added to the XML.

V1.10 - Manifest file is parsed and version and author fields are added to the XML.
- The order of fields, which shouldn't really matter, was changed based on the order of fields of the XML generated by the doclet tool.
- Last saved folder is stored in a settings file.
 

Attachments

Last edited:

klaus

Expert
Licensed User
The LibDoc program from Infrmatix is complementary to the b4xlib2XML program.
The b4xlib2XML program generates a XML file from a b4xlibary.
The LibDoc program generates documentation text from an XML file.
 
Top