Tool B4Xxref: cross-reference your projects with libraries and modules

Discussion in 'Additional libraries, classes and official updates' started by walt61, Mar 28, 2019.

  1. walt61

    walt61 Active Member Licensed User

    Before making a change to a shared module that I often use, I wanted to assess the projects it would impact. Windows Search is one option of course, but not one I find very practical in this case - time for B4Xxfref.

    Select the folder you want analysed (subfolders are inspected as well); the program will look for .b4a, .b4i, and .b4j files and generate a csv file with the following content:
    - Project folder: the project file's folder's full path
    - Project file: the project's filename, e.g. 'myproject.b4a'
    - B4X type: b4a/b4i/b4j
    - Object type: library/module
    - Object name: the name of the library or module
    - Module referenced as: local (i.e. it sits in the project folder)/absolute/relative
    - Module full path: the full path of the module's .bas file

    And then you can play with the data in Excel or whichever tool you prefer. Project and source code attached.

    Enjoy!
     

    Attached Files:

  2. JohnC

    JohnC Well-Known Member Licensed User

    Cool!
     
    walt61 likes this.
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