Hello, In my case, I had to set the attribute 'fork' to true always. It would never work without this. I do not know why either...
--Pascal Fionnula Glynn wrote: >Hi, > >Has anyone used the junitreport task in Ant? When I set the report >format >to "xml" I get a 'java.lang.LinkageError: loader constraints violated >when >linking org/w3c/dom/Document class'. I know it's got something to do >with >the classpaths that I have set, which are as follows: >.; >C:\j2sdk1.4.0_02\jre\lib; >C:\JUnit\junit3.8.1\junit.jar; >C:\tools\ant\lib; >C:\j2sdk1.4.0_02\lib\tools.jar; >C:\JUnit\junit3.8.1\junit\samples; > >I get the same error if I include the xalan.jar and xerces.jar in the >class >paths. > >Has anyone seen this before? I'm going nuts! :-( > >Fionnuala Glynn. > > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
