From: jprocter Date: Mon, 16 Jan 2006 20:25:49 +0000 (+0000) Subject: found cyclic dependency problems in schema and in VorbaId mechanism. X-Git-Tag: Release_0.2~381 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=8d474dd77c01354948a5db3ee135e04af8f97503;p=vamsas.git found cyclic dependency problems in schema and in VorbaId mechanism. git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@139 be28352e-c001-0410-b1a7-c7978e42abec --- diff --git a/src/org/vamsas/test/simpleclient/VamsasArchive.java b/src/org/vamsas/test/simpleclient/VamsasArchive.java index df18387..ceae705 100644 --- a/src/org/vamsas/test/simpleclient/VamsasArchive.java +++ b/src/org/vamsas/test/simpleclient/VamsasArchive.java @@ -78,6 +78,10 @@ public class VamsasArchive { log.info("Writing an apdata reference using AppDataStream interface."); apuser.setAppDataChoice(new AppDataChoice()); apuser.getAppDataChoice().setDataReference(appdata_ref); + appdata.addUser(apuser); + // TODO: FIX CYCLIC __ensure+instance_ids + // TODO: FIX schema - User.addUser is unsatisfiable! + apuser.addUser(apuser); ObjectOutputStream apdos = new ObjectOutputStream(va.getAppDataStream(appdata_ref)); apdos.writeObject(appdata_ref); apdos.writeObject(apuser); // some random content