Opened 12 years ago

Closed 12 years ago

#366 closed defect (fixed)

Change NSHMP Utils classes to use Streams instead of Files

Reported by: Kevin Milner Owned by: Peter Powers
Priority: major Milestone: OpenSHA 1.3
Component: sha Version:
Keywords: Cc:

Description

Peter's NSHMP Util classes use class.getResource(...) but then convert it to a File object, which won't work with resources in jar files (thus won't work in our applications). I started to replace it, but it uses some File object specific library to do the parsing so I'm going to leave it up to Peter. Until then, I've disabled the FrankelEtAl_1996_AttenRel IMR (set it to new DevStatus? state called "ERROR"). The ERFs are still included, but will only work when run via eclipse.

Change History (2)

comment:1 Changed 12 years ago by Kevin Milner

I also had to disable the CEUS IMR because it uses Frankel 96

comment:2 Changed 12 years ago by Peter Powers

Resolution: fixed
Status: newclosed

All resource references have been updated to use URLs and Streams instead of files. I've left AttenRelRef? alone for now.

Note: See TracTickets for help on using tickets.