Bug #212
closed
jar file handling for data packages
Added by Matt Jones over 23 years ago.
Updated about 22 years ago.
Category:
morpho - general
Description
Need ability to store data packages as jar files on the local system, and morpho
needs to be able to create them and understand their structure. Also, need to
be able to send a jar file to metacat, and have it parse it and store the
components properly.
Changed milestone for a number of morpho features that will not be able to be
completed by Beta 1 (ESA). Delaying these features to Beta 2.
This essentially works by producing a zip file now.
Still TODO:
1) Add a MANIFEST
2) Add an HTML version of the metadata to the export file
3) eliminate the redundant data in the exported package
Created the HTML file with merged metadata. this fils still looks a bit rough but is useful. I also added a link into the html to the data file and took away the second incarnation of the data file that was saved in the root of the exported package's directory. If we still want to make this into a jar file, we still need to add a manifest and change the output streams to be jar (I think this may create the manifest for us). I think it's fine right now as a zip file. note that the html creation also works for non-zipped exports.
DONE. Export feature accomplishes this. This works fine as a zip file, no need
for it to be a jar.
Original Bugzilla ID was 212
Also available in: Atom
PDF