I tried to set the System property, however, it still does not work. The command is
java -Djava.endorsed.dirs=C:\Source\v4.0\java\test\lib\ junit.swingui.TestRunner the lib directory has crimson.jar and sax.jar. Another question is how to use the default parser that comes with jdk1.4? XMLReader class is in crimson or sax, if I do not include them in the classpath, the application can not even find the class. Haiying -----Original Message----- From: Michael Smith [mailto:[EMAIL PROTECTED]] Sent: Sunday, July 07, 2002 9:08 PM To: Slide Users Mailing List Subject: Re: init slide in junit Haiying Qiao wrote: > > I am writing test cases for our classes that use slide api. I can init slide > and run my application without JUnit. However, it is very strange I can not > init slide in JUnit. Here is the exception in JUnit This usually means you've ended up with an extra xml parser lying around somewhere. This is more common with JDK1.4, since that includes one (which overrides any other by default - see java.endorsed.dirs if you want to re-override it). Michael -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
