I'm attempting to deploy LanguageTool in server mode for use by multiple users, with a single, centralized configuration. I've done this successfully by configuring rules for multiple languages through the UI to create a ~/.languagetool.cfg, and then starting the server from the UI.
This works great, except for one thing: it requires the UI. I'd like to do the same thing using languagetool-server.jar, so that I can wrap LT as a service and have it start automatically, etc.
However, when launched via the HTTPServer/HTTPSServer classes, it it looks like this configuration is ignored. (The file is parsed, but ignored unless the internalServer flag is set -- see LanguageToolHttpHandler.java.)
Is there some other way to force the languagetool-server jar to load values from the .languagetool.cfg file? I found this thread, which looked related but seems to have been about a different fix.