[
https://issues.apache.org/jira/browse/SAMZA-357?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14078969#comment-14078969
]
Chris Riccomini commented on SAMZA-357:
---------------------------------------
Interesting tidbit. On the broken laptop:
{noformat}
$ file -I build/rat/rat-report.xml
build/rat/rat-report.xml: text/html; charset=binary
{noformat}
I'm on OSX.
Also, when building with --debug, I see:
{noformat}
23:13:24.188 [DEBUG] [org.gradle.launcher.daemon.client.DefaultDaemonStarter]
Using daemon opts: [-XX:MaxPermSize=512m, -Dfile.encoding=MacRoman]
{noformat}
> Rat task fails
> --------------
>
> Key: SAMZA-357
> URL: https://issues.apache.org/jira/browse/SAMZA-357
> Project: Samza
> Issue Type: Bug
> Components: build
> Affects Versions: 0.7.0
> Reporter: Chris Riccomini
> Fix For: 0.8.0
>
>
> When running a build on master from my home laptop, I get:
> {noformat}
> $ ./gradlew build -x test
> To honour the JVM settings for this build a new JVM will be forked. Please
> consider using the daemon:
> http://gradle.org/docs/2.0/userguide/gradle_daemon.html.
> :assemble UP-TO-DATE
> :rat FAILED
> FAILURE: Build failed with an exception.
> * Where:
> Script '/Users/criccomini/Code/incubator-samza/gradle/rat.gradle' line: 54
> * What went wrong:
> Execution failed for task ':rat'.
> > com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException:
> > Invalid byte 1 of 1-byte UTF-8 sequence.
> * Try:
> Run with --stacktrace option to get the stack trace. Run with --info or
> --debug option to get more log output.
> BUILD FAILED
> Total time: 9.34 secs
> {noformat}
> Turning on --debug and --stacktrace doesn't yield any more useful information.
> The build seems to work fine on my work laptop, though.
--
This message was sent by Atlassian JIRA
(v6.2#6252)