Closed maxnoe closed 6 years ago
This is nice. Does that mean we can remove this SourceURL
business everywhere?
If I didn't overlook anything, the only place where it is still used is Stream
implementations, as the constructor requires aSourceURL
So this means we can finally add classpathes to the xmls here right? https://github.com/fact-project/fact-tools/blob/ec792dd0ea13d0d880438e171493d3bea5b4e85d/examples/stdAnalysis.xml#L4-L6
Oh yes, this should work now!
For the inputfiles, it works but not for the aux folder
The AuxFileService
uses Path
s, I think these cannot handle classpath resources
To make this work with auxfile thingy I'd have to restructure the HDUreader to accept inputstreams. That's not entirely trivial. Maybe another time.
Refactored a bit in the last two commits.
Wow. I can approve my own commits. Nice. 🥇
This fixes some long standing issues of using
-Ddrsfile=classpath:/testDrsFile.fits.gz
or something similarSee this: which was actually not fixed https://github.com/fact-project/fact-tools/issues/90