From: Thomas S. <tho...@bd...> - 2004-03-03 13:30:22
|
Hi guys! Following problem: ------------------ I wrote a JUnit Test for a class i created, in this class i use the = org.apache.xerces.parsers.* classes, but because of the junit classloader i get an = classcastexception when i want to call the constructor of my class. I solved it: ------------ I edited the excluded.properties file and added following line: excluded.9=3Dorg.apache.xerces.parsers.* ... and re-added it to the junit.jar file. IT WORKS! ... but i don't want to change the junit.jar file, because others = (partners) also want to use it, they don't want me to change it. so i heard another way = to solve it is to create excluded.properties, add the line above and add it = BEFORE the junit.jar file to the CLASSPATH. i did this but it simply doesn't work ... any help? greets ... thomas |