At least the ant task should give you the opportunity to pass in your own
charset (if you know your source code is all US-ASCII or UTF-8) to help the
detection and so its consistent...

because the encoding of your source code depends upon your repository, and
is completely unrelated to the default encoding :)

On Thu, Jun 27, 2013 at 6:21 PM, Uwe Schindler <[email protected]> wrote:

> See also:
> http://svn.apache.org/repos/asf/creadur/rat/trunk/apache-rat-core/src/main/java/org/apache/rat/document/impl/guesser/BinaryGuesser.java
> ****
>
> ** **
>
> We have to file a bug. RAT should not use default encoding!****
>
> ** **
>
> -----****
>
> Uwe Schindler****
>
> H.-H.-Meier-Allee 63, D-28213 Bremen****
>
> http://www.thetaphi.de****
>
> eMail: [email protected]****
>
> ** **
>
> *From:* Robert Muir [mailto:[email protected]]
> *Sent:* Friday, June 28, 2013 12:19 AM
> *To:* [email protected]
> *Subject:* Re: [JENKINS] Lucene-Solr-Tests-4.x-Java6 - Build # 1742 -
> Still Failing****
>
> ** **
>
> Rat uses the default encoding to detect isBinary :(
>
> repro like this:
>
> rmuir@beast:~/workspace/branch_4x$ ANT_OPTS="-Dfile.encoding=ISO8859-1"
> ant rat-sources
>
> ****
>
> On Thu, Jun 27, 2013 at 6:12 PM, Uwe Schindler <[email protected]> wrote:***
> *
>
> This is strange, I cannot reproduce. It should detect this file as binary.
> There must be something different on FreeBSD only. Will look into it
> tomorrow.
>
> Uwe
>
> -----
> Uwe Schindler
> H.-H.-Meier-Allee 63, D-28213 Bremen
> http://www.thetaphi.de
> eMail: [email protected]****
>
>
>
> > -----Original Message-----
> > From: Apache Jenkins Server [mailto:[email protected]]
> > Sent: Thursday, June 27, 2013 11:54 PM
> > To: [email protected]
> > Subject: [JENKINS] Lucene-Solr-Tests-4.x-Java6 - Build # 1742 - Still
> Failing
> >
> > Build: https://builds.apache.org/job/Lucene-Solr-Tests-4.x-Java6/1742/
> >
> > All tests passed
> >
> > Build Log:
> > [...truncated 23328 lines...]
> > BUILD FAILED
> > /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-Tests-4.x-
> > Java6/build.xml:392: The following error occurred while executing this
> line:
> > /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-Tests-4.x-
> > Java6/build.xml:67: The following error occurred while executing this
> line:
> > /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-Tests-4.x-
> > Java6/solr/build.xml:296: The following error occurred while executing
> this
> > line:
> > /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-Tests-4.x-
> > Java6/lucene/common-build.xml:1608: Rat problems were found!
> >
> > Total time: 59 minutes 23 seconds
> > Build step 'Invoke Ant' marked build as failure Archiving artifacts
> Recording
> > test results Email was triggered for: Failure Sending email for trigger:
> Failure
> >
>
>
> ****
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]****
>
> ** **
>

Reply via email to