----- Original Message -----
From: "Magesh Umasankar" <[EMAIL PROTECTED]>
To: "Ant Developers List" <[EMAIL PROTECTED]>
Sent: Tuesday, April 30, 2002 2:06 PM
Subject: Re: Crimson hard coded into junit


> your suggestion "worksforme" :-)
>
> **************************************************
> *  Boss: Someone who is early when you are late  *
> *  and late when you  are early.                 *
> **************************************************
> ----- Original Message -----
> From: "Steve Loughran" <[EMAIL PROTECTED]>
> To: "Ant Developers List" <[EMAIL PROTECTED]>
> Sent: Tuesday, April 30, 2002 5:08 PM
> Subject: Re: Crimson hard coded into junit
>
>
> >
> > ----- Original Message -----
> > From: "Magesh Umasankar" <[EMAIL PROTECTED]>
> > To: "Ant Developers List" <[EMAIL PROTECTED]>
> > Sent: Tuesday, April 30, 2002 1:50 PM
> > Subject: Re: Crimson hard coded into junit
> >
> >
> > > Hmm...  Do you want me to add back crimson
> > > in?  Or can we escape by saying for the beta,
> > > you would need to stuff crimson.jar in
> > > lib/optional, and try to fix it before beta-2?
> > >
> > > Cheers,
> > > Magesh
> > >
> >
> > I dunno what is happening now; erik is saying 'worksforme'. I say ship,
we
> > can deal with bugreps by saying 'add crimson' without changing the code

I have fully fixed my problem here; here is the problem.

1. j2ee.jar is in the test classpath
2. junit fork=false

j2ee jar has too much stuff, not just an old version of jasper, but a fair
bit of the java apis, and that was confusing stuff no end, but only inside
the junit task :

java.lang.LinkageError: loader constraints violated when linking
org/w3c/dom/Document class
 at
org.apache.crimson.jaxp.DocumentBuilderFactoryImpl.newDocumentBuilder(Docume
ntBuilderFactoryImpl.java:82)
 at
org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter.getDocu
mentBuilder(XMLJUnitResultFormatter.java:93))

So what we are seeing is that somehow the classpath inside junit is breaking
the junit task itself...


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to