On Tue, 2002-04-16 at 16:56, Pete Kazmier wrote:

> > With these reports, the maven:docs target, more specifically the
> > junit-xml takes too long (forever?) to complete.
> 
> I seem to recall a problem like this before, what is the contents of
> your ANT_HOME/lib directory?  Could you try adding Xerces in there to
> see if this helps?

Yes, it does.  Replacing crimson.jar with xmlParserAPIs.jar and
xercesImpl.jar from Xerces-2.0.1 in the ANT_HOME/lib dir fixes this.
Thanks (see also end of this message for another "fix")...

Funny, I had some troubles with Ant 1.4.1 (from RPMs), so I built new
ones (1.5alpha) from Ant CVS yesterday.  Something had changed overnight
and today Ant CVS has Xerces...

> > The problem is that the system_out generated to the following tests is
> > huge:
> > test-reports/TEST-org.apache.maven.java.NodeViewVisitorTest*
> > test-reports/TEST-org.apache.maven.java.JavaDocVisitorTest.*
> > test-reports/TEST-org.apache.maven.java.SourceToolTest.*
> 
> This is not a problem.  We have debugging turned on in the parser at the
> moment but I am able to generate docs fine.

I played around with these files while I still had Ant using Crimson,
and found out that wrapping the entire contents of the <system-out>
element inside <![CDATA[]]> makes the build work with Crimson too.

I don't know where this XML is generated (checkstyle?), but IMHO the
contents of <system-out> and <system-err> should be CDATA anyway...

-- 
Ville Skytt�
[EMAIL PROTECTED]

Reply via email to