Thomas Selner | 3 Mar 14:16
Picon

excluded.properties

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=org.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

-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id56&alloc_id438&op=click
(Continue reading)


Gmane