I dont know groovy, but this sounds great.

I only used the built-in task to find the javadocs bugs quickly and
because it was much easier, but i hate it!!!!

The worst thing about the built-in task is it puts all its output in
this ByteArrayStream instead of a file, so if you actually have broken
docs, it just tells you "jtidy failed" but hides all the useful
output.


On Thu, Oct 25, 2012 at 12:50 PM, Uwe Schindler <[email protected]> wrote:
> Can we use groovy to instantiate Tidy classes and pass filesets? We don't 
> need a task if it is only missing some "new Tidy(...).check(...)"
>
> -----
> Uwe Schindler
> H.-H.-Meier-Allee 63, D-28213 Bremen
> http://www.thetaphi.de
> eMail: [email protected]
>
>
>> -----Original Message-----
>> From: Robert Muir [mailto:[email protected]]
>> Sent: Thursday, October 25, 2012 6:40 PM
>> To: [email protected]
>> Subject: Re: [JENKINS] Lucene-Solr-4.x-Windows (32bit/jdk1.7.0_07) - Build #
>> 1297 - Still Failing!
>>
>> Thanks. I tried a blind stab (trunk-only).
>>
>> The issue is the built in task makes a ByteArrayOutputStream or whatever for
>> all the output. So I think this grows large on all the files.
>>
>> unfortunately if we use quiet=true, the task no longer fails on error?! But i
>> told it not to emit any warnings, so it writes about half as much.
>>
>> still this task is really annoying, we probably just need a custom one.
>>
>> On Thu, Oct 25, 2012 at 11:55 AM, Uwe Schindler <[email protected]> wrote:
>> > I committed a 64bit-only workaround for now...
>> >
>> > -----
>> > Uwe Schindler
>> > H.-H.-Meier-Allee 63, D-28213 Bremen
>> > http://www.thetaphi.de
>> > eMail: [email protected]
>> >
>> >
>> >> -----Original Message-----
>> >> From: Robert Muir [mailto:[email protected]]
>> >> Sent: Thursday, October 25, 2012 5:03 PM
>> >> To: [email protected]
>> >> Subject: Re: [JENKINS] Lucene-Solr-4.x-Windows (32bit/jdk1.7.0_07) -
>> >> Build #
>> >> 1297 - Still Failing!
>> >>
>> >> for now, use a 64-bit jvm. ill work on tis tonight (May have to make
>> >> a custom task, the jtidy one is crap)
>> >>
>> >> On Thu, Oct 25, 2012 at 10:19 AM, Uwe Schindler <[email protected]>
>> wrote:
>> >> > This also OOMs locally here!
>> >> >
>> >> > -----
>> >> > Uwe Schindler
>> >> > H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de
>> >> > eMail: [email protected]
>> >> >
>> >> >> -----Original Message-----
>> >> >> From: Policeman Jenkins Server
>> >> >> [mailto:[email protected]]
>> >> >> Sent: Thursday, October 25, 2012 3:40 PM
>> >> >> To: [email protected]
>> >> >> Subject: [JENKINS] Lucene-Solr-4.x-Windows (32bit/jdk1.7.0_07) -
>> >> >> Build #
>> >> >> 1297 - Still Failing!
>> >> >>
>> >> >> Build: http://jenkins.sd-datasolutions.de/job/Lucene-Solr-4.x-
>> >> >> Windows/1297/
>> >> >> Java: 32bit/jdk1.7.0_07 -server -XX:+UseParallelGC
>> >> >>
>> >> >> All tests passed
>> >> >>
>> >> >> Build Log:
>> >> >> [...truncated 24417 lines...]
>> >> >> BUILD FAILED
>> >> >> C:\Users\JenkinsSlave\workspace\Lucene-Solr-4.x-
>> >> Windows\build.xml:60:
>> >> >> The following error occurred while executing this line:
>> >> >> C:\Users\JenkinsSlave\workspace\Lucene-Solr-4.x-
>> >> >> Windows\lucene\build.xml:235: The following error occurred while
>> >> >> executing this line:
>> >> >> C:\Users\JenkinsSlave\workspace\Lucene-Solr-4.x-
>> >> >> Windows\lucene\common-build.xml:1577:
>> java.lang.OutOfMemoryError:
>> >> >> Java heap space
>> >> >>       at java.util.Arrays.copyOf(Arrays.java:2271)
>> >> >>       at
>> >> >>
>> java.io.ByteArrayOutputStream.grow(ByteArrayOutputStream.java:113)
>> >> >>       at
>> >> >>
>> >>
>> java.io.ByteArrayOutputStream.ensureCapacity(ByteArrayOutputStream.ja
>> >> >> v
>> >> >> a:93)
>> >> >>       at
>> >> >>
>> java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:140)
>> >> >>       at sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:221)
>> >> >>       at sun.nio.cs.StreamEncoder.implWrite(StreamEncoder.java:282)
>> >> >>       at sun.nio.cs.StreamEncoder.write(StreamEncoder.java:125)
>> >> >>       at java.io.OutputStreamWriter.write(OutputStreamWriter.java:207)
>> >> >>       at java.io.BufferedWriter.flushBuffer(BufferedWriter.java:129)
>> >> >>       at java.io.BufferedWriter.write(BufferedWriter.java:230)
>> >> >>       at java.io.PrintWriter.write(PrintWriter.java:456)
>> >> >>       at java.io.PrintWriter.write(PrintWriter.java:473)
>> >> >>       at java.io.PrintWriter.print(PrintWriter.java:603)
>> >> >>       at java.io.PrintWriter.println(PrintWriter.java:739)
>> >> >>       at org.w3c.tidy.Report.printMessage(Report.java:754)
>> >> >>       at org.w3c.tidy.Report.attrError(Report.java:1171)
>> >> >>       at
>> >> >>
>> org.w3c.tidy.AttrCheckImpl$CheckName.check(AttrCheckImpl.java:843)
>> >> >>       at org.w3c.tidy.AttVal.checkAttribute(AttVal.java:265)
>> >> >>       at org.w3c.tidy.Node.checkAttributes(Node.java:343)
>> >> >>       at
>> >> >>
>> org.w3c.tidy.TagCheckImpl$CheckAnchor.check(TagCheckImpl.java:489)
>> >> >>       at org.w3c.tidy.Lexer.getToken(Lexer.java:2431)
>> >> >>       at org.w3c.tidy.ParserImpl$ParseBlock.parse(ParserImpl.java:2051)
>> >> >>       at org.w3c.tidy.ParserImpl.parseTag(ParserImpl.java:203)
>> >> >>       at org.w3c.tidy.ParserImpl$ParseBody.parse(ParserImpl.java:971)
>> >> >>       at org.w3c.tidy.ParserImpl.parseTag(ParserImpl.java:203)
>> >> >>       at org.w3c.tidy.ParserImpl$ParseHTML.parse(ParserImpl.java:483)
>> >> >>       at org.w3c.tidy.ParserImpl.parseDocument(ParserImpl.java:3401)
>> >> >>       at org.w3c.tidy.Tidy.parse(Tidy.java:433)
>> >> >>       at org.w3c.tidy.Tidy.parse(Tidy.java:263)
>> >> >>       at org.w3c.tidy.ant.JTidyTask.processFile(JTidyTask.java:457)
>> >> >>       at org.w3c.tidy.ant.JTidyTask.executeSet(JTidyTask.java:420)
>> >> >>       at org.w3c.tidy.ant.JTidyTask.execute(JTidyTask.java:364)
>> >> >>
>> >> >> Total time: 51 minutes 11 seconds
>> >> >> Build step 'Invoke Ant' marked build as failure Archiving
>> >> >> artifacts Recording test results Description set: Java:
>> >> >> 32bit/jdk1.7.0_07 -server - XX:+UseParallelGC Email was triggered
>> >> >> for: Failure Sending email
>> >> for trigger:
>> >> >> Failure
>> >> >>
>> >> >
>> >> >
>> >> >
>> >> > -------------------------------------------------------------------
>> >> > -- To unsubscribe, e-mail: [email protected] For
>> >> > additional commands, e-mail: [email protected]
>> >> >
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: [email protected] For
>> >> additional commands, e-mail: [email protected]
>> >
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: [email protected] For
>> > additional commands, e-mail: [email protected]
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected] For additional
>> commands, e-mail: [email protected]
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to