Hello All, Earlier today, I used GitHub Desktop to sync the LT repository with my local repository. (There were no local changes.) Then, I ran the English tests in Maven. I got some unexpected errors:
<snip> [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] languagetool-parent ................................ SUCCESS [ 0.360 s] [INFO] LanguageTool Style and Grammar Checker Core ........ SUCCESS [ 31.263 s] [INFO] English module for LanguageTool .................... FAILURE [ 3.343 s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 35.566 s [INFO] Finished at: 2016-07-08T12:25:27+01:00 [INFO] Final Memory: 16M/309M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test (default-test) on project lang uage-en: There are test failures. [ERROR] [ERROR] Please refer to D:\GitHubClone\languagetool\languagetool-language-modules\en\target\surefire -reports for the ind ividual test results. [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <goals> -rf :language-en --------------- I ran the tests in debug mode. This is a small excerpt: Running org.languagetool.rules.en.MorfologikCanadianSpellerRuleTest Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.23 sec <<< FAILURE! - in org.languagetool.rules.en.MorfologikCanadianSpellerRuleTest testMorfologikSpeller(org.languagetool.rules.en.MorfologikCanadianSpellerRul eTest) Time elapsed: 0.18 sec <<< ERROR! java.lang.NoSuchMethodError: org.languagetool.rules.Example.fixed(Ljava/lang/String;)Ljava/lang/String; The last time that I successfully ran the Maven tests (that is, no unexpected errors) was on 22 June. (This morning, I synced GitHub at least 3 times and I ran the Maven tests at least 3 times.) What are the possible causes of the error messages? What must I do to correct the problem? Mike -----Original Message----- From: Daniel Naber [mailto:daniel.na...@languagetool.org] Sent: 07 May 2016 20:44 To: development discussion for LanguageTool Subject: RE: GitHub Desktop: request for help <snip> Yes, you can download and install Maven: http://maven.apache.org/download.cgi - installing it means just to unzip it and add the path with the command itself (the command is "mvn") to the Window's PATH environment variable. You can then work in your clone and run all English tests like this: mvn --projects languagetool-language-modules/en --also-make test <snip> ------------------------------------------------------------------------------ Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San Francisco, CA to explore cutting-edge tech and listen to tech luminaries present their vision of the future. This family event has something for everyone, including kids. Get more information and register today. http://sdm.link/attshape _______________________________________________ Languagetool-devel mailing list Languagetool-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/languagetool-devel