Ok, the encoding issue fixed. Now the build fails because of some issue with gradle.
https://builds.apache.org/job/tapestry-trunk-freestyle/652/console I think we need to upgrade ubuntu2 to use the most recent Gradle milestone. Does anybody know how to do that? On Fri, Jan 6, 2012 at 12:23 AM, Josh Canfield <joshcanfi...@gmail.com>wrote: > The test machine probably has a non-UTF8 character encoding. > > You can make this test fail locally if you set the -Dfile.encoding to > something other than UTF-8 when you run the tests. > > In XMLTokenStream.openStream() adding explicit encoding fixes the problem > > InputStreamReader rawReader = new InputStreamReader(rawStream, > "UTF8"); > LineNumberReader reader = new LineNumberReader(rawReader); > > ByteArrayOutputStream bos = new ByteArrayOutputStream(5000); > PrintWriter writer = new PrintWriter(new > OutputStreamWriter(bos, "UTF8")); > > This forces users to UTF8 instead of the default system encoding. > > The better option would be to add support for <?xml encoding="ASCII"> > and default explicitly to UTF8. > > This was pointed out on the user list a while back, I assumed this > test was added to validate the case but I haven't done any further > research. > > Josh > > On Thu, Jan 5, 2012 at 1:30 PM, Howard Lewis Ship <hls...@gmail.com> > wrote: > > I wonder if this is a real bug caused by, perhaps, some different JDK > > configuration on the Jenkins server than on our workstations? > > > > On Thu, Jan 5, 2012 at 12:45 PM, Igor Drobiazko > > <igor.drobia...@gmail.com> wrote: > >> The build is failing since December 15th. Apart from Ajax test that fail > >> from time to time, we have a test case which fails constantly. See the > >> following link. > >> > >> > https://builds.apache.org/job/tapestry-trunk-freestyle/ws/trunk/tapestry-core/build/reports/tests/Tapestry%20Core/Service%20Unit%20Tests.html > >> > >> The funny thing is that this test is successful on my local machine. I > vote > >> for disabling this test until we have a solution for it. I'd like to > have > >> all the other test running. > >> > >> -- > >> Best regards, > >> > >> Igor Drobiazko > >> http://tapestry5.de > >> http://twitter.com/drobiazko > > > > > > > > -- > > Howard M. Lewis Ship > > > > Creator of Apache Tapestry > > > > The source for Tapestry training, mentoring and support. Contact me to > > learn how I can get you up and productive in Tapestry fast! > > > > (971) 678-5210 > > http://howardlewisship.com > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: dev-unsubscr...@tapestry.apache.org > > For additional commands, e-mail: dev-h...@tapestry.apache.org > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@tapestry.apache.org > For additional commands, e-mail: dev-h...@tapestry.apache.org > > -- Best regards, Igor Drobiazko http://tapestry5.de http://twitter.com/drobiazko