Hi Vlad,
Thanks for your suggestions.
The way how BaseX is configured is the result from various feedback over the last >10 years. I assume it’s not perfect, but we need to be careful if we want to change it, as it affects existing instances of BaseX (on different platforms, environments, etc.). But I’ll have some thoughts if we could introduce additional (and optional) .basexserver and .basexclient files that complement existing .basex files.
Some general information (you may already have spotted our Configuration Wiki page [1]):
• If you run BaseX for the first time, and if you haven’t installed BaseX via the Windows installer, a 'basex' directory will be added to your home directory, which contains the global configuration. These files will be read, no matter where you start BaseX from.
• If you start BaseX from a directory that contains a .basex or .basexhome file, this directory will be your BaseX home directory, and you will have custom configuration files in that directory.
Maybe that answers some of your questions?
When I start the basexclient a new .basex configuration file is created in the current working directory. I start the basexclient from many different direcotries, but I want to have the basexclient configuration only in my home ~/ directory
Maybe you had a .basexhome file in that directory? If not, feel free to tell me how I can reproduce this behavior.
Cheers, Christian