git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@155
be28352e-c001-0410-b1a7-
c7978e42abec
log.warn("No appdatas were transferred. This is wrong.");
va.putVamsasDocument(doc);
va.closeArchive();
+ sfile.unLock();
log.info("Testing update: ");
{
Lock lock=sfile.getLock();
VamsasArchiveReader vreader = new VamsasArchiveReader(newf);
SimpleDocument sdoc = new SimpleDocument("testing vamsas update");
ArchiveReports.reportDocument(sdoc.getVamsasDocument(vreader), vreader, true, System.out);
- lock.release();
- lock = null;
}
} catch (Exception e) {
e.printStackTrace(System.err);