Share My Creation [B4X] Project Overview, Search and Git Status

Discussion in 'B4J Share Your Creations' started by stevel05, Sep 21, 2018.

  1. stevel05

    stevel05 Expert Licensed User

    I am always searching my projects for something I know I had done, but can't remember where or when. So I wrote this app that parses a folder full (or more) of projects (including sub folders) and stores the results in an sqlite database which can then be searched. There are many options to search so you should be able to find what you are looking for.

    Be aware that the sqlite wild card searches are not characters you would normally expect, there is a reminder under the menubar.


    Select a folder from the file menu to scan. On my system it takes about 30 seconds to scan 600 projects, so it's not too slow for the results you get.

    B4i/B4r: I have not looked into the format of the B4i/B4r projects but I do have some B4i projects courtesy of BitMapCreator, and one test B4r project which parse OK, although there are no specific searches for B4i or B4r the searches that are available work as expected.


    The B4j source code is attached. A compiled jar is available from my Google drive here as it's too large to upload.


    If you use it, let me know how you get on with it.


    • Update now parses relative shared code modules
    • Added colours to project names for easier identification
    You will need to re-scan your projects as there is a change to the underlying database.

    Additional dependencies for V0.2
    • KeyValueStore2

    • Update Indexed view with project name colors
    • Amended Tab sequence of Data Entry Fields
    • Added Module Description to Indexed Search
    • Added Field and searches for Forms
    • Fixed Indexed tab size issue
    • Consolidate some query code
    • Added GitStatus
    Some minor tweaks plus the addition of a GitStatus view. This assumes that the repository is stored in the project folder in a subdirectory of .git. The GitStatus view shows the selected projects git status i.e. unstaged, uncommitted and differences for the current branch of the project. You can also add a git application that will be opened via jShell with the working path set to the selected projects folder by clicking on the git button in the Git Status window. It works with gitbash and gitgui, I haven't tested any others.

    Additional dependencies for V0.4 using git:

    If you don't already have the slf4j (logging api) files you can get them from here:

    Additional dependencies for V0.4 not using git:
    • None

    To compile for Git, download the required jar files and copy them to your additional libraries folder, select Git from the Build Configuration menu and compile.

    To compile without git, ensure that Default is selected in the Build Configurations menu. You can also remove jShell from the Libraries tab.


    Attached Files:

    Last edited: Nov 27, 2018
    Mashiane, ilan, inakigarm and 8 others like this.
  2. stevel05

    stevel05 Expert Licensed User

    Update to v0.2 see first post.
  3. LucaMs

    LucaMs Expert Licensed User

    Me and my 2Kb of brain memory too :D

    I have some doubts about its usefulness but this is due to not having tried it (I will do it soon, I think - hope).

    1) is it much more useful than a normal search in Windows Explorer?
    2) if it were, it would be useful that it could update the db by checking and "processing" just updated files (maybe it already does, in fact I have yet to try).

    Anyway, thank you so much Steve for sharing a whole useful project with its source code !!!
    stevel05 likes this.
  4. mangojack

    mangojack Well-Known Member Licensed User

    @stevel05 ... I definitely going to give this a whirl , because ...

    'I am always searching my projects for something I know I had done, but can't remember where or when.'

    :) Many thanks
    stevel05 and LucaMs like this.
  5. alwaysbusy

    alwaysbusy Expert Licensed User

    stevel05 likes this.
  6. stevel05

    stevel05 Expert Licensed User

    It is faster and a more targeted search. In fact the File Search tab does just that, again in a more targeted way.
    There is some checking but could probably be improved, I'll look into it.
    LucaMs likes this.
  7. stevel05

    stevel05 Expert Licensed User

    I don't remember seeing that post, it looks interesting.
  8. ilan

    ilan Expert Licensed User

    Very nice, thanx for sharing :)
  9. stevel05

    stevel05 Expert Licensed User

    Update to V0.4 Minor mods and Added Git Status view.
  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