Re: [en] Maven error when approximately 820 lines are added to grammar.xml

2016-08-15 Thread Fernand FERDINANDE
Perhaps "shall and Maven" is telling you something but for me it’s telling me nothing. But it makes my happy if I could be of some help. I’m always asking myself how you can correct a language you don’t know. This must be leading to mistakes most of French speaking people do when

RE: [en] Maven error when approximately 820 lines are added to grammar.xml

2016-08-15 Thread Mike Unwalla
Thanks. I corrected the rule for 'shall' and Maven gives no errors. For 'establish', I guessed that by adding an exception for the postag JJ, (=established), Maven would not give an error. My guess was correct. (And the original rule was faulty, because it should have been about the verb only

RE: [en] Maven error when approximately 820 lines are added to grammar.xml

2016-08-12 Thread Daniel Naber
On 2016-08-12 20:41, Mike Unwalla wrote: > The rules are for Gardner's 'Misused terms in EU publications' > (http://euenglish.webs.com), which I want to commit to LT. It says "The use of ‘shall’ in the third person (he/she/it/they) is archaic". > Here is a test rule: > >

RE: [en] Maven error when approximately 820 lines are added to grammar.xml

2016-08-12 Thread Mike Unwalla
: shall Causes error: shall. It must also include, where appropriate, … Here are the Maven error messages: --- T E S T S --- Running

RE: [en] Maven error when approximately 820 lines are added to grammar.xml

2016-08-12 Thread Daniel Naber
On 2016-08-12 10:58, Mike Unwalla wrote: > My rules for these words cause the Maven errors: do, establish, of, > shall. Could you be more specific, i.e. why does the rule match the sentence? Is this a rule you're going to commit to LT or is it a "private" rule? > &q

RE: [en] Maven error when approximately 820 lines are added to grammar.xml

2016-08-12 Thread Mike Unwalla
Thank you. The new message lets me find the source of the errors. When I put the applicable rules into comments, Maven gives no errors. My rules for these words cause the Maven errors: do, establish, of, shall. Is it possible to create rules for those words and get Maven to give a success

Re: [en] Maven error when approximately 820 lines are added to grammar.xml

2016-08-11 Thread Daniel Naber
On 2016-08-11 14:57, Mike Unwalla wrote: > org.languagetool.JLanguageToolTest.testEnglish(JLanguageToolTest.java:84) We have a small number of test sentences in the Java code (instead of in the grammar.xml). In this case, this sentence now leads to an error, either because there's an actual

RE: Maven shows errors, but why?

2016-07-08 Thread Mike Unwalla
for LanguageTool Subject: Re: Maven shows errors, but why? On 2016-07-08 13:49, Mike Unwalla wrote: > eTest) Time elapsed: 0.18 sec <<< ERROR! > java.lang.NoSuchMethodError: > org.languagetool.rules.Example.fixed(Ljava/lang/String;)Ljava/lang/String; Sometimes maven gets confus

Re: Maven shows errors, but why?

2016-07-08 Thread Daniel Naber
On 2016-07-08 13:49, Mike Unwalla wrote: > eTest) Time elapsed: 0.18 sec <<< ERROR! > java.lang.NoSuchMethodError: > org.languagetool.rules.Example.fixed(Ljava/lang/String;)Ljava/lang/String; Sometimes maven gets confused and it's needed to clean the temporary files. Fo

Maven shows errors, but why?

2016-07-08 Thread Mike Unwalla
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: [INFO] [INFO] Reactor

Maven snapshots

2015-04-14 Thread Daniel Naber
Hi, additionally to the nightly builds for users[1] we now also have a snapshot repository with our Maven artifacts at https://repository-languagetool.forge.cloudbees.com/snapshot/. This can be used by users who rely on LT as a Java library and who still need the latest version. Regards

Using daily builds in Maven

2014-10-03 Thread Robin Dunn
Hi, Is there a way of using Maven to automatically grab the latest daily build of LanguageTool so that it can be used as a dependency? Currently it seems only the major released versions of LT are available from the Maven public repository e.g. the latest 2.7, but the daily builds

Re: Using daily builds in Maven

2014-10-03 Thread Daniel Naber
On 2014-10-03 12:32, Robin Dunn wrote: Currently it seems only the major released versions of LT are available from the Maven public repository e.g. the latest 2.7, but the daily builds are not in the public repository? Yes, Maven Central is only for releases and we don't have set up our own

Re: Using daily builds in Maven

2014-10-03 Thread Richard Eckart de Castilho
it seems only the major released versions of LT are available from the Maven public repository e.g. the latest 2.7, but the daily builds are not in the public repository? Yes, Maven Central is only for releases and we don't have set up our own repo to host daily builds. If this is for a local

LT 2.7 maven artifacts

2014-09-25 Thread Robin Dunn
Hi, Does anyone know when the Maven artefacts for LT v2.7 will be available? Will this be announced on this mailing list? Thanks Robin. -- Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS

Re: LT 2.7 maven artifacts

2014-09-25 Thread Daniel Naber
On 2014-09-25 13:33, Robin Dunn wrote: Does anyone know when the Maven artefacts for LT v2.7 will be available? They will be released together with LT 2.7 on 2014-09-29 (or a few hours later). Regards Daniel

Maven vs. Gradle

2014-04-02 Thread Daniel Naber
Hi, Gradle is a build system, similar to Maven. I noticed that there's a gradle init command which automatically turns your Maven project into a Gradle project. As our Maven tests are quite slow, I've given it a try to see if Gradle is faster. The conversion didn't work 100% but issues could

testing 2.3.1 maven artifacts

2013-10-03 Thread Daniel Naber
Hi, I have prepared a 2.3.1 release for Maven Central. It's the same as 2.3 plus Stefan's fixes for the multi-threading problem. As a developer, you can test the artifacts by adding this to your pom.xml: repositories repository idsonatypestaging/id

Maven tips

2013-02-12 Thread Daniel Naber
Hi, I added a page to the Wiki with tips for using Maven: http://wiki.languagetool.org/maven-tips Most have already been discussed here on this list, but this one is new: mvn --projects languagetool-language-modules/xy --also-make clean test This command allows you to run the tests

Re: switching to Maven - done!

2013-02-09 Thread Daniel Naber
of builds? I rarely build everything, I just run the test cases (which is also slow but that's 80% not a Maven problem). Regards Daniel -- http://www.danielnaber.de -- Free Next-Gen Firewall Hardware Offer Buy your Sophos

Re: switching to Maven - done!

2013-02-09 Thread Dominique Pellé
performance: does your workflow require making a lot of builds? I rarely build everything, I just run the test cases (which is also slow but that's 80% not a Maven problem). I only use the command line version of LanguageTool. So I ended up commenting out in pom.xml the module languagetool-office

Re: switching to Maven - done!

2013-02-09 Thread Daniel Naber
On 09.02.2013, 10:58:25 Dominique Pellé wrote: !-- modulelanguagetool-language-modules/en/module -- I forgot that we have a module language-all which is kind of a meta module that pulls in all languages. So you should comment out non-relevant languages also in the pom.xml of language-all.

Re: switching to Maven - done!

2013-02-09 Thread Daniel Naber
On 09.02.2013, 10:58:25 Dominique Pellé wrote: I only use the command line version of LanguageTool. What you could also do is to skip languagetool-standalone and work directly in languagetool-commandline. For this, maven-assembly-plugin needs to be configured in the pom.xml of languagetool

Re: switching to Maven - done!

2013-02-08 Thread Dominique Pellé
Daniel Naber wrote: There's now languagetool-commandline.jar. It would be nice to move all libs to a lib directory except the LT ones, but I'm not sure yet how that works. Thanks for that. When running mvn clean package, I see 2 jar files created:

Re: switching to Maven - done!

2013-02-08 Thread Dominique Pellé
Richard Eckart de Castilho wrote: Without having had a look at the build, I would expect at least two things to cause: 1) Maven (like ant) is a Java application and it takes a moment to fire up the JVM. make is a native application. 2) The package goal always runs the full packaging

Re: switching to Maven - done!

2013-02-08 Thread Richard Eckart de Castilho
Am 09.02.2013 um 01:50 schrieb Dominique Pellé dominique.pe...@gmail.com: Richard Eckart de Castilho wrote: Without having had a look at the build, I would expect at least two things to cause: 1) Maven (like ant) is a Java application and it takes a moment to fire up the JVM. make

Re: switching to Maven - done!

2013-02-06 Thread Dominique Pellé
Daniel Naber list2...@danielnaber.de wrote: Hi everybody! As planned, we have now switched the LT source to a module-based Maven structure. This mail contains important information about what that means for developers. Please read this carefully if you're affected. * languagetool-gui

Re: switching to Maven - done!

2013-01-28 Thread Jaume Ortolà i Font
2013/1/28 Mauro Condarelli mc5...@mclink.it Sorry to disturb, people. I've been using Eclipse previously. Now I followed instructions for the maven repack. Everything went ok, but I can't start the commandline: mcon@vmrunner :/srv/Store/Language/languagetool/languagetool-standalone/target

Re: switching to Maven - done!

2013-01-28 Thread Jaume Ortolà i Font
On 28/01/2013 09:51, Jaume Ortolà i Font wrote: 2013/1/28 Mauro Condarelli mc5...@mclink.it Sorry to disturb, people. I've been using Eclipse previously. Now I followed instructions for the maven repack. Everything went ok, but I can't start the commandline: mcon@vmrunner :/srv/Store

Re: switching to Maven - done!

2013-01-28 Thread Dominique Pellé
Mauro Condarelli mc5...@mclink.it wrote: On 28/01/2013 09:51, Jaume Ortolà i Font wrote: 2013/1/28 Mauro Condarelli mc5...@mclink.it Sorry to disturb, people. I've been using Eclipse previously. Now I followed instructions for the maven repack. Everything went ok, but I can't start

Re: switching to Maven - done!

2013-01-28 Thread Daniel Naber
On 28.01.2013, 00:41:10 Mauro Condarelli wrote: Everything went ok, but I can't start the commandline: mcon@vmrunner:/srv/Store/Language/languagetool/languagetool-standalone/ta rget$ java -cp languagetool-standalone-2.1-SNAPSHOT.jar Could you please try again with the very latest version?

Re: switching to Maven - done!

2013-01-28 Thread Daniel Naber
On 28.01.2013, 10:34:33 Mauro Condarelli wrote: My .m2/repository directory contains a lot of libs (.jars .pom) deeply nested, but nothing really about LanguageTool itself. JARs will only be in ~/.m2/repository if you call mvn clean install. This is useful as you then can compile and test

Re: switching to Maven - done!

2013-01-27 Thread Mauro Condarelli
. Must I write one myself? You can use this for now (I just made an update, the class was still missing): java -cp languagetool-standalone-2.1-SNAPSHOT.jar org.languagetool.commandline.Main We can either add script files or configure Maven to create another JAR for the command line version. Help

Re: switching to Maven - done!

2013-01-25 Thread Jaume Ortolà i Font
2013/1/24 Daniel Naber list2...@danielnaber.de You can use this for now (I just made an update, the class was still missing): java -cp languagetool-standalone-2.1-SNAPSHOT.jar org.languagetool.commandline.Main We can either add script files or configure Maven to create another JAR

Re: switching to Maven - done!

2013-01-25 Thread Jaume Ortolà i Font
This can be useful for Eclipse users. I installed these plugins: m2e - Maven Integration for Eclipse Subclipse (or other SVN plugin) Maven SCM handler for Subclipse Then in the SVN repository you can check out as a Maven project The result is a duplicated structure like the one explaind

Re: switching to Maven - done!

2013-01-24 Thread Ruud Baars
As far as I am concerned, I think it is very technical. I will work from the nightly builds. On 24-01-13 13:15, Jaume Ortolà i Font wrote: 2013/1/23 Daniel Naber list2...@danielnaber.de mailto:list2...@danielnaber.de Don't hesitate to ask if you have questions. Hi Daniel, I miss an

Re: switching to Maven

2013-01-23 Thread Daniel Naber
On 23.01.2013, 00:26:32 Daniel Naber wrote: Status update: all languages have been ported. I still need to manually merge the changes that happened between creation of my branch and now. Chances are good that this will happen tomorrow (Wednesday night) and then we're ready to switch.

switching to Maven - done!

2013-01-23 Thread Daniel Naber
Hi everybody! As planned, we have now switched the LT source to a module-based Maven structure. This mail contains important information about what that means for developers. Please read this carefully if you're affected. Who is affected? Only people who use svn to access the very latest

Re: switching to Maven - done!

2013-01-23 Thread Dominique Pellé
Daniel Naber wrote: 7. If you find problems related to the switch, let me know. I know that not everything is working 100% but we should be close. For example, some shell scripts are missing / not working yet, and the *.oxt is still called *.zip and too big. Following web page has now a

Re: switching to Maven - done!

2013-01-23 Thread Richard Eckart de Castilho
Great news! 2. Make sure maven is installed. Type mvn -version on the command line. If Maven returns its version and the version is = 3.0.2, everything is okay. If not, follow the instructions on http://maven.apache.org/guides/getting-started/maven-in-five-minutes.html (ignoring

Maven?

2013-01-22 Thread Marco A.G.Pinto
Hello! I am a bit confused and worried with the new changes going on. Is Maven similar to Tortoise? Can I still use Tortoise or must I switch to Maven? If so, is there a Windows version of it? Thanks! Kind regards,   Marco

Re: switching to Maven

2013-01-22 Thread Daniel Naber
On 20.01.2013, 22:35:19 Daniel Naber wrote: Status update: I'm making good progress on this, but I'm not finished. We already have five Maven modules which should be working. We can build the stand-alone tool and the OXT with Maven. Only English is supported for now. I'll soon port

Re: switching to Maven

2013-01-20 Thread Daniel Naber
On 18.01.2013, 15:05:07 Daniel Naber wrote: I'm now trying to change our code structure to a modular maven-based approach, as documented at http://wiki.languagetool.org/switching-to-maven Status update: I'm making good progress on this, but I'm not finished. We already have five Maven

switching to Maven

2013-01-18 Thread Daniel Naber
Hi, I'm now trying to change our code structure to a modular maven-based approach, as documented at http://wiki.languagetool.org/switching-to-maven I can't make any promises that this first approach works. As I'm working in a branch, everybody can continue working as usual for now, but I'd ask

[Languagetool] LanguageTool 1.9 is on Maven Central

2012-10-10 Thread Richard Eckart de Castilho
Hello folks, LanguageTool 1.9 is now available from Maven Central: http://search.maven.org/#search%7Cga%7C1%7Clanguagetool The artifact does not contain the dev or OpenOffice parts, only the core and the language resources. This is fine for embedding LT 1.9 in Java applications

Re: [Languagetool] LanguageTool 1.9 is on Maven Central

2012-10-10 Thread Daniel Naber
On 10.10.2012, 14:58:43 Richard Eckart de Castilho wrote: Hi Richard, The artifact does not contain the dev or OpenOffice parts, only the core and the language resources. This is fine for embedding LT 1.9 in Java applications. thanks a lot for your help! I have documented the Maven artifact

Re: [Languagetool] Planning move to Maven

2012-10-03 Thread Richard Eckart de Castilho
Hi, a good path to Maven Central is via the Sonatype OSS repository. This requires a LT maintainer to obtain a Jira account from Sonatype and open an issue requesting a Maven Central sync for the project. I'll already prep the POM for submission via Sonatype OSS. The process is documented

[Languagetool] LT 1.9 deploy to Maven Central almost ready

2012-10-03 Thread Richard Eckart de Castilho
synchronization to Maven Central. Once they are through, LT 1.9 can be uploaded. It is possible to add a list of developers to the Maven POM. Can you point me to a list of active developers on the project or just reply with a list of names to this mail, so I can add them? If this is not desired, I'll try

Re: [Languagetool] LT 1.9 deploy to Maven Central almost ready

2012-10-03 Thread Daniel Naber
On 03.10.2012, 15:16:53 Richard Eckart de Castilho wrote: It is possible to add a list of developers to the Maven POM. Can you point me to a list of active developers on the project or just reply with a list of names to this mail, so I can add them? If this is not desired, I'll try to get

Re: [Languagetool] LT 1.9 Maven dependency version differences

2012-10-02 Thread Daniel Naber
On 02.10.2012, 20:23:16 Richard Eckart de Castilho wrote: Everything compiles and all the tests are good. Is it ok to stay with these deviations? I think so - we have quite a lot of tests, and if they are okay, everything should be fine. Lucene is used for the dev package only, i.e. the

Re: [Languagetool] Planning move to Maven

2012-09-16 Thread Daniel Naber
On 16.09.2012, 16:35:16 Richard Eckart de Castilho wrote: Hi Richard, thanks for your feedback. I'm not yet sure about this point: Instead of scanning for subclasses, I'd suggest to define some location in META-INF where language modules can declare themselves. E.g. a file

Re: [Languagetool] Planning move to Maven

2012-09-16 Thread Daniel Naber
On 16.09.2012, 21:13:38 Nathan Wells wrote: I think it will be great to have smaller downloads for each language. Will this also translate to separate files for LibreOffice/OpenOffice extensions to keep them small as well? Not in the first step I guess, but once we're more modular that