scenerygraphics / sciview

sciview is a tool for visualization and interaction with ND image and mesh data
BSD 2-Clause "Simplified" License
67 stars 17 forks source link

Use XDG-compliant paths for cache and config files #506

Closed kephale closed 1 year ago

kephale commented 1 year ago

Closes https://github.com/scenerygraphics/sciview/issues/452

kephale commented 1 year ago

Tagging @ctrueden on this because I added a dependency on https://github.com/dirs-dev/directories-jvm, the version number is currently hard coded. I wonder if we already have an equivalent dependency floating around in SciJava?

ctrueden commented 1 year ago

@kephale This is a good idea, and I don't think we have another dependency for abiding by the XDG conventions before now. This is something I would like to do in ImageJ2+Fiji in general. I added dev.dirs:directories with scijava/pom-scijava@97cbfe2bb153ed492a95fa6db1a973118e1cb1fe.

kephale commented 1 year ago

Ok, I'm going to merge for now. I created a tracking issue for the idea of creating an overall config/options class: https://github.com/scenerygraphics/sciview/issues/507