commented out stream constructor for vamsasArchive.
authorjprocter <jprocter@compbio.dundee.ac.uk>
Fri, 24 Mar 2006 19:01:45 +0000 (19:01 +0000)
committerjprocter <jprocter@compbio.dundee.ac.uk>
Fri, 24 Mar 2006 19:01:45 +0000 (19:01 +0000)
git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@208 be28352e-c001-0410-b1a7-c7978e42abec

src/org/vamsas/test/simpleclient/VamsasArchive.java

index 6793019..2d5fcbf 100644 (file)
@@ -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)