Back to LanguageTool Homepage - Privacy - Imprint

Problems building LT


(Irvine) #1

I am having problems building LT. Initially, it was the widely reported problem of Maven struggling to download all the required artefacts. With perseverance, I am fairly sure that it now has everything it needs, but the project still fails to build.

There has been a variety of reasons listed in the 'Sure Fire' reports. For example:


Tests run: 10, Failures: 1, Errors: 9, Skipped: 0, Time elapsed: 202.766 sec <<< FAILURE!
testErrorAtTextBeginning(org.languagetool.dev.wikipedia.SuggestionReplacerTest) Time elapsed: 7.797 sec <<< ERROR!....

Tests run: 5, Failures: 0, Errors: 1, Skipped: 1, Time elapsed: 0.015 sec <<< FAILURE!
testEnabledOnlyParameter(org.languagetool.server.HTTPServerTest) Time elapsed: 0 sec <<< ERROR!

Tests run: 3, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 4.562 sec <<< FAILURE!
testRules(org.languagetool.tagging.disambiguation.rules.en.EnglishRuleDisambiguatorTest) Time elapsed: 2.234 sec <<< FAILURE!
[/quote]

Since the nature of the error changes after each update, I am beginning to think that it is not my inexperience with building java packages, but the developers experimenting with new code. Is this the case, or am I doing something fundamentally wrong?

In either event, can I use any modules that are built prior to the build as a whole failing?

Irvine


(Daniel Naber) #2

The tests are currently unstable, you can ignore them by adding "-DskipTests", e.g. "mvn package -DskipTests".