From: jprocter Date: Fri, 24 Mar 2006 19:01:45 +0000 (+0000) Subject: commented out stream constructor for vamsasArchive. X-Git-Tag: Release_0.2~312 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=73ee2d4777e3a0495fc0c22e87c7133f341c9fe5;p=vamsas.git commented out stream constructor for vamsasArchive. git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@208 be28352e-c001-0410-b1a7-c7978e42abec --- diff --git a/src/org/vamsas/test/simpleclient/VamsasArchive.java b/src/org/vamsas/test/simpleclient/VamsasArchive.java index 6793019..2d5fcbf 100644 --- a/src/org/vamsas/test/simpleclient/VamsasArchive.java +++ b/src/org/vamsas/test/simpleclient/VamsasArchive.java @@ -174,14 +174,15 @@ public class VamsasArchive { va.putVamsasDocument(doc); va.closeArchive(); sfile.unLock(); - System.exit(0); log.info("Testing update: "); { Lock lock=sfile.getLock(); if (lock==null) while ((lock=sfile.getLock())==null) log.info("Waiting for lock."); - VamsasArchiveReader vreader = new VamsasArchiveReader(lock); + // VamsasArchiveReader vreader = new VamsasArchiveReader(lock); + VamsasArchiveReader vreader = new VamsasArchiveReader(newf); + SimpleDocument sdoc = new SimpleDocument("testing vamsas update"); VamsasDocument finaldoc = sdoc.getVamsasDocument(vreader); if (finaldoc!=null)