Currently, a minimal mode installation (./build.sh dist-minimal) does not produce a working exist instance:
- there are some error messages on startup about missing jar files
- running any XQuery script fails because eXist tries to open "/webapp/WEB-INF/expathrepo"
The attached patch fixes the problems for me, and everything worked fine for months. I do not know if anything I do not used breaks, though.