Open dominikl opened 5 months ago
commons-io
is injected in omero-server
There was an attempt to remove it see https://github.com/ome/omero-romio/pull/14
I don't think we should add it
I think we should try to use nio Paths
or Files
. See for example https://github.com/ome/omero-insight/pull/268 usage of toURI
to solve a similar problem
Good idea. I'll try to remove it 👍
Actually, not a good idea. It's everywhere. I've tried got rid of it in Insight, but then failed at https://github.com/ome/omero-insight/blob/558b56cf66c50c895fd8d5643dc377afd2a4ddee/src/main/java/org/openmicroscopy/shoola/env/data/OmeroImageServiceImpl.java#L263 with error: cannot access DirectoryWalker, icContainers = ic.getContainers();
I.e. it's heavily used in omero-blitz as well. You mentioned omero-romio... I guess it's in many many more. Which probably also means updating it to a new version is a pain.
--exclude temporary exclude due to merge conflict
I have no idea where the apache commons io dependency is defined. But lets see if this fixes https://github.com/ome/omero-insight/issues/435