Hi Jonathan,
While I was able to launch the BaseX GUI (bin/basexgui) from WSL, the GUI experience is better when launching bin\basexgui.bat from cmd.exe, that is, from the Windwows shell. As to basexhttp, I usually start it from WSL (in the same BaseX bin directory, using the same databases). I installed by unzipping the zip distribution somewhere below my Windows user directory (mounted as /mnt/c/Users/gerrit/ in WSL, I made a symlink ~/w that points to /mnt/c/Users/gerrit). I don’t remember whether I unzipped it on WSL or in Windows Explorer. So yes, do use a single installation directory that is available both in Windows and in WSL. But maybe don’t use an installer; rather install it via unzipping the Zip release.
Gerrit
On 22.03.2022 23:29, Jonathan Robie wrote:
I installed Windows System for Linux and installed BaseX on it, and also installed BaseX on Windows.
Unfortunately, the two do not share databases. Is there a way to make them do so? Or a way to run basexgui from WSL? Or a better question that I should ask if I want to work productively on BaseX under Windows and am more accustomed to developing under Linux?
Jonathan