Other [Tool] b4xlib - XML generation

Discussion in 'B4J Libraries & Classes' started by Erel, Jan 13, 2019.

  1. Erel

    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/t...rary-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.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.
     

    Attached Files:

    Last edited: Mar 21, 2019
    jimmyF, Peter Simpson, jmon and 7 others like this.
  2. Erel

    Erel Administrator Staff Member Licensed User

    V1.10 is released.
     
    Kiffi and alwaysbusy like this.
  3. agraham

    agraham Expert Licensed User

    Erel likes this.
  4. Erel

    Erel Administrator Staff Member Licensed User

    Note that you can run the executable jar directly.
     
  5. moster67

    moster67 Expert Licensed User

    Last edited: Feb 26, 2019
    Erel likes this.
  6. klaus

    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.
     
  7. moster67

    moster67 Expert Licensed User

    Sorry if I was not clear.
    I meant in addition to @warwound's xml2bb-utility mentioned in the first post.
     
  8. moster67

    moster67 Expert Licensed User

    Works very well. Thank you Erel.
     
  9. Erel

    Erel Administrator Staff Member Licensed User

    V1.20 - Class events are added to the XML.
     
Loading...
  1. 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.
    Dismiss Notice