Open GoogleCodeExporter opened 9 years ago
Accepted, that's an issue.
jeeunit does indeed use heuristics to excluded unwanted libs, but these are
mainly aimed at Eclipse and Linux at the moment, and unfortunately, one size
does not fit all...
There is an API ContainerLauncher.setClasspathFilter(FileFilter) which can be
used to install a custom filter. At the moment, however, this is not accessible
via JeeunitRunner.
A possible approach would be a new property in jeeunit.properties which lets
you specify a list of exclude patterns.
If you need a quick solution and are not afraid of working with a locally
modified version of jeeunit, look for setClasspathFilter() in
EmbeddedGlassfishContainer or EmbeddedTomcat7Container or whatever container
you're using and adapt the filter to your needs.
Original comment by hwellman...@gmail.com
on 25 Jan 2012 at 11:54
Original issue reported on code.google.com by
den...@sunrunhome.com
on 19 Jan 2012 at 11:28