You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@opennlp.apache.org by "Suneel Marthi (Jira)" <ji...@apache.org> on 2020/01/25 20:05:00 UTC

[jira] [Closed] (OPENNLP-1264) Trivial fixes to enable building on, gasp, Windows

     [ https://issues.apache.org/jira/browse/OPENNLP-1264?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Suneel Marthi closed OPENNLP-1264.
----------------------------------

> Trivial fixes to enable building on, gasp, Windows
> --------------------------------------------------
>
>                 Key: OPENNLP-1264
>                 URL: https://issues.apache.org/jira/browse/OPENNLP-1264
>             Project: OpenNLP
>          Issue Type: Task
>            Reporter: Tim Allison
>            Assignee: Tim Allison
>            Priority: Trivial
>             Fix For: 1.9.3
>
>
> I had to change 3 things to get a clean build on Windows...I'm not sure the solutions are the most elegant, and these may be user error
> 1) I had to turn off (fail on error) in style checking because of a problem w new lines. On nearly every file, I got this failure.
> {noformat}
> [ERROR] src\test\java\opennlp\tools\util\VersionTest.java:[0] (misc) NewlineAtEndOfFile: File does not end with a newline.
> [WARNING] checkstyle:check violations detected but failOnViolation set to false
> {noformat}
> 2) {{LanguageDetectorEvaluatorTest#processSample}} fails because '\n' are expected, but Windows, of course, writes '\r\n' with {{println}}
> 3) I intentionally have a space in the directory structure to my IdeaProjects directory, which can cause problems on Windows when finding paths.  There are two areas where this happens.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)