Skip to content

Small FITS wrapper to run it using a custom classloader and provide some basic JAXB (un)marshalling of the XML output.

License

Notifications You must be signed in to change notification settings

netarchivesuite/fits-wrapper

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Attempts at running FITS through a custom java classloader. Also provides simple JAXB (un)marshalling of the XML output.

However...

FITS 0.8.x has a classloader unfriendly way of loading its xslt transformer.

FITS 0.9.0 has a very strange new classloader to load each tool which is very classloader unfriendly!

JHove1.12 uses ClassLoader.getSystem<...> methods which are classloader unfriendly.

New Zealand Metadata Extractor 3.6GC also use classloader unfriendly ClassLoader.getSystem<...> methods.

Patching all of these projects is just a pain. And to make thing more annoying FITS and NZME still use ant and include a fuckload of jars in their source distribution.

I did have some minor success patching JHove1.12 and FITS 0.8.10 to working with a custom classloader. [email protected] upgraded FITS to the latest JHove and also fixed some other outdates stuff.

The modified version of FITS can be found here: https://github.com/nclarkekb/fits

About

Small FITS wrapper to run it using a custom classloader and provide some basic JAXB (un)marshalling of the XML output.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%