From: Thomas Selner <thomas.selner@bd...> - 2004-03-03 13:30:22
I wrote a JUnit Test for a class i created, in this class i use the =
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:
... and re-added it to the junit.jar file.
... but i don't want to change the junit.jar file, because others =
want to use it, they don't want me to change it. so i heard another way =
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