Task #12114 (closed)
Opened 10 years ago
Closed 10 years ago
Exclude log4j/package jars from target-test-runner classpath
Reported by: | mlinkert | Owned by: | mlinkert |
---|---|---|---|
Priority: | minor | Milestone: | 5.0.2 |
Component: | Bio-Formats | Version: | 5.0.0 |
Keywords: | n.a. | Cc: | sbesson, jamoore, cblackburn |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | n.a. |
Sprint: | n.a. |
Description
components/test-suite/target-test-runner currently picks up any jars under artifacts/ and adds them to its classpath. This can cause problems with logging if log4j or loci_tools.jar is present and the file listing order is such that those jars are listed before the logback jar.
Most notably this was an issue with BIOFORMATS-5.1-merge-openbytes-performance. The current workaround is to not have the performance jobs build the package jars.
Change History (1)
comment:1 Changed 10 years ago by mlinkert
- Resolution set to fixed
- Status changed from new to closed
Fixed with https://github.com/openmicroscopy/bioformats/pull/1080