On 2012-03-02, Svante Schubert wrote:

> On 01.03.2012 12:32, Stefan Bodewig wrote:
>> On 2012-03-01, Svante Schubert wrote:

>>> On Windows 7 on the same source revision I got a problem with RAT and a
>>> binary document, which have to explicitly exclude to let the test pass:
>> Sounds like <https://issues.apache.org/jira/browse/RAT-81>

>>> [INFO] --- apache-rat-plugin:0.7:check (default) @ schema2template ---
>>> [INFO] Exclude: src/test/resources/examples/odf/*.ref
>> You should give RAT 0.8 a try.
> Not using any version number, so I assume Maven uses the latest version.

0.8 is the latest version.

> Uncertain from the log, which version is being used in the end.

Well, the snippet above says 0.7.

>>> * First how can the nightly build pass and the local build fail?
>> Because they use different VMs with different behavior in the face of
>> encoding errors.
> Like the binary is not being detected in Windows?

Possible, yes.

> The issue is written for Ubuntu, there everything is fine.

I couldn't reproduce it on Ubuntu either, but still it has been
encountered.  This really is more of a VM issue than a OS issue, or more
accurately a class library issue.  IBM's classlibs throw exceptions in
cases where OpenJDK's classlib replaces unencodable characters with '?'
and Sun/Oracle's classlibs seem to depend on the OS.

I'd really give RAT 0.8 a try.

> I assume the KEYS text file is ignored by default. If this is the
> case, shouldn't this be mentioned in the documentation?

It is not ignored, it gets reported as NOTE - just like NOTICE or
LICENSE and a couple of other files

<http://svn.apache.org/repos/asf/incubator/rat/main/trunk/apache-rat-core/src/main/java/org/apache/rat/document/impl/guesser/NoteGuesser.java>

Stefan

Reply via email to