--- Donald McLean <[EMAIL PROTECTED]> wrote:
> In a regular JUnit environement, there is a file that you can use to tell
> the special JUnit class loader to exclude the packages from those jars.
> Unfortunately, there is no easy way to modify this file in IDEA.

As green bar addict, this was driving me insane.

On Windows, you can open the junit.jar with Winzip.  Create a directory
structure, junit/runner and copy the excluded.properties file into it.  Edit
the file to exclude the packages that are causing the problem.  Then drag the
junit folder back   into the junit.jar.  My excluded.properties file look like
this:

#
# The list of excluded package paths for the TestCaseClassLoader
#
excluded.0=sun.*
excluded.1=com.sun.*
excluded.2=org.omg.*
excluded.3=javax.*
excluded.4=sunw.*
excluded.5=java.*
# I added these
excluded.6=org.sax.*
excluded.6=org.xml.*

__________________________________________________
Do You Yahoo!?
Yahoo! Health - your guide to health and wellness
http://health.yahoo.com

_______________________________________________
Eap-list mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-list

Reply via email to