Building LanguageTool jars from source

Hi,

I would like to modify the LanguageTool source code for using within my Java app. I am an expert Java developer but I know nothing about Maven. I don’t know how to download or install the “Maven artifact” described on this page: http://languagetool.org/java-api/

Are there detailed instructions anywhere for installing and building LanguageTool from source? (Preferably with Eclipse.)

Thanks in advance,
Barry Fruitman

On Di 05.02.2013, 11:01:09 you wrote:

Are there detailed instructions anywhere for installing and building
LanguageTool from source? (Preferably with Eclipse.)

Here’s a short introduction to Maven:
http://maven.apache.org/run-maven/

Note that in LT 2.0 there’s only one Maven artifact (*.jar) that contains
everything, in the future there will be more, e.g. one *.jar per language.

You’d need to set up LT 2.0 manually in Eclipse as it doesn’t come with a
Maven pom (we have just switched to Maven).

A short introduction on how to build the current SVN is at
http://www.languagetool.org/development/#checkout

Regards
Daniel


http://www.danielnaber.de

Hi Daniel,

Thank you very much for your prompt reply.

You’d need to set up LT 2.0 manually in Eclipse as it doesn’t come with a
Maven pom (we have just switched to Maven).

I don’t understand… I found a pom.xml in the root svn folder and another in every project root folder. Can I use those to build LanguageTool? (creating my own Maven setup is not really an option as I don’t know anything about Maven).

Thanks again,
Barry

On Di 05.02.2013, 12:20:49 you wrote:

I don’t understand… I found a pom.xml in the root svn folder and
another in every project root folder. Can I use those to build
LanguageTool?

Yes, just call “mvn package” in the top directory with a pom.xml (Maven
needs to be installed for that, there’s no way around that if you want to
compile LT).

If there’s a pom.xml it means you’re using the latest SVN, not LT 2.0.

Regards
Daniel


http://www.danielnaber.de

I can build it now. Thank you very much!

Barry