Android Question Clashing layouts (and other files) in b4xlibs

Sandman

Expert
Licensed User
Longtime User
Let's say I have a file, or a layout, in a b4xlib. And in another b4xlib I have two different files, but they are named identically. Will this name-clash cause problems at some point?

I kind of imagine it will cause problems, as things aren't really namespaced (as far as I can tell), but on the other hand I can't find any info about it on the b4xlib page.

(I totally get the "better be safe than sorry - so always use unique names" strategy. But I wanted to check anyway.)
 

Sandman

Expert
Licensed User
Longtime User
Just a note that this was partially solved with B4A 12.5.
 
Upvote 0

Sandman

Expert
Licensed User
Longtime User
A thought rose to the surface.

This whole thing could perhaps be solved (in addition to what came with 12.5) by the IDE just reporting about the clashes. So, as far as I'm considered, no need to handle them in any special way, just a message saying something like...
B4X:
Warning: Filename conflict, "myfinelogo.png" available in files below. Results are undetermined.
- checkers.b4xlib
- tictactoe.b4xlib

Absolutely when compiling, preferably also when one enable libraries.
 
Upvote 0
Top