Wish Multiple folders AdditionLibraries/SharedModules paths

udg

Expert
Licensed User
Longtime User
Hi all,

what do you think if those paths would allow multiple folders?
I'd like to organize Modules in a way where B4X classes are kept separate from B4J/B4A specific ones.

Another roption could be the introduction of a new B4X-dedicated folder. I don't know. Just an idea.

TIA
 

Erel

B4X founder
Staff member
Licensed User
Longtime User

udg

Expert
Licensed User
Longtime User
Right.
I should have posted this time ago..eheh
 

sorex

Expert
Licensed User
Longtime User
The ability to reference modules is a game changer for cross platform development in B4X.

I used this for years by just pointing B4A & B4i to the same shared modules folder which was in my sources folder just like the B4A, B4i & B4J folders.

But indeed a little bit structure keeps things more clean, in my case it's a mess of 1 folder with a lot of these .bas files.
 

udg

Expert
Licensed User
Longtime User
I used to keep Additonal Libraries and Shared Modules folders separate for each B4x product. Now I introduced a new folder "B4X" where I store B4X-only and XUI-B4x modules letting the link mechanism manage how to collect them when needed.
Something like this:
B4X:
Development
    B4A
      ExtraLibs
      ExtraModules
       ....
      Projects
      Tests
    B4J
       same as above
    B4X
       xModules
       xuiModules
This way I can still distinguish between pure-B4A/B4J modules/libs and B4X ones.
 
Top