Solved. New laptop. Needed to remind git not to autocrlf all "\n" to "\r\n".

git config --global core.autocrlf input

-----Original Message-----
From: Allison, Timothy B. [mailto:[email protected]] 
Sent: Friday, May 20, 2016 4:02 PM
To: [email protected]
Subject: RE: problems building Tika 2.x on Windows?

Thank you, Lewis.

I think the problem was that my editor flipped the new lines in the two test 
files to \r\n...

Once I fixed those, 2 of the 3 tests passed.  I still can't figure out why the 
third one is failing.  But I'll take a look next week.

-----Original Message-----
From: Lewis John Mcgibbney [mailto:[email protected]]
Sent: Friday, May 20, 2016 3:55 PM
To: [email protected]
Subject: Re: problems building Tika 2.x on Windows?

Hi Tim,
I'm trying to get a build established at 
https://builds.apache.org/view/Tika/job/tika-2.x-windows
Please keep your eye on the build. Right now there are some environment issues 
on Windows slaves.
Lewis

On Fri, May 20, 2016 at 11:44 AM, <[email protected]> wrote:

>
> From: "Allison, Timothy B." <[email protected]>
> To: "[email protected]" <[email protected]>
> Cc:
> Date: Wed, 18 May 2016 16:44:32 +0000
> Subject: problems building Tika 2.x on Windows?
> Is anyone else having problems building 2.x on Windows?
>
> I'm getting failed tests for the ArParser and these in tika-app:
>
> Failed tests:
>   TestMimeTypes.testArchiveDetection:357->assertTypeByData:1007
> expected:<[application/x-archive]> but was:<[text/plain]>
>
> AutoDetectParserTest.testHTML:189->assertAutoDetect:142->assertAutoDet
> ect:125->assertAutoDetect:96
> Bad content type: Test parameters:
>   resourceRealName        = /test-documents/testHTML.html
>   resourceStatedName      = /test-documents/testHTML.html
>   realType                = text/html; charset=ISO-8859-1
>   statedType              = null
>   expectedContentFragment = Test Indexation Html expected:<text/html; 
> charset=[ISO-8859-1]> but was:<text/html; charset=[windows-1252]>
>
> AutoDetectParserTest.testText:221->assertAutoDetect:142->assertAutoDet
> ect:125->assertAutoDetect:96
> Bad content type: Test parameters:
>   resourceRealName        = /test-documents/testTXT.txt
>   resourceStatedName      = /test-documents/testTXT.txt
>   realType                = text/plain; charset=ISO-8859-1
>   statedType              = null
>   expectedContentFragment = indexation de Txt expected:<text/plain; 
> charset=[ISO-8859-1]> but was:<text/plain; charset=[windows-1252]>
>   PackageTest.testArParsing:64 expected:<[application/x-archive]> but 
> was:<[text/plain; charset=windows-1252]>
>
>

Reply via email to