Back to LanguageTool Homepage - Privacy - Imprint

Unable recognize my own rules in different environments

When I added the garmmar.xml file in the ‘/rules/en/’ , the test does not hit the new rule added. I don’t know what to do with this situation. However, the same set of codes can be run locally, it won’t run on the ubuntu server. This is very strange. Could you give me some solutions and opinions?

Thanks!

Have you restarted LT after modifying the file? What is the exact path where you put the file?

Thank you for your reply. I don’t understand what is restarting LT. Should I need to restart the server,or another method? I put grammar.xml under ./rule/en/ path.
Thanks!

Restarting means stopping and starting the server, if that’s what you use. The rule file must be at org/languagetool/rules/en/grammar.xml.