vamsas.git
17 years agodebugging on the haltWatch method
jprocter [Thu, 28 Jun 2007 14:37:02 +0000 (14:37 +0000)]
debugging on the haltWatch method

git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@413 be28352e-c001-0410-b1a7-c7978e42abec

17 years agouse of config class
jprocter [Thu, 28 Jun 2007 14:16:55 +0000 (14:16 +0000)]
use of config class

git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@412 be28352e-c001-0410-b1a7-c7978e42abec

17 years agobeginnings of configuration settings class. Introduced to avoid validation overhead...
jprocter [Thu, 28 Jun 2007 14:16:28 +0000 (14:16 +0000)]
beginnings of configuration settings class. Introduced to avoid validation overhead in castor-1.1-cycle-xml.jar

git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@411 be28352e-c001-0410-b1a7-c7978e42abec

17 years agomodified warning for unresolved IDRef during castor un/marshalling. This message...
jprocter [Thu, 28 Jun 2007 14:14:42 +0000 (14:14 +0000)]
modified warning for unresolved IDRef during castor un/marshalling. This message is unlikely to be observed if the cycle-patched castor is used

git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@410 be28352e-c001-0410-b1a7-c7978e42abec

17 years agoadded check for 'broken update' - where vamsas document file has been incorrectly...
jprocter [Thu, 28 Jun 2007 14:13:27 +0000 (14:13 +0000)]
added check for 'broken update' - where vamsas document file has been incorrectly written.

git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@409 be28352e-c001-0410-b1a7-c7978e42abec

17 years agoend position not correctly set.
jprocter [Thu, 28 Jun 2007 14:12:30 +0000 (14:12 +0000)]
end position not correctly set.

git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@408 be28352e-c001-0410-b1a7-c7978e42abec

17 years agosequence mappings and DbRef mapping objects unified and source binding for castor...
jprocter [Thu, 28 Jun 2007 13:51:44 +0000 (13:51 +0000)]
sequence mappings and DbRef mapping objects unified and source binding for castor-1.1-cycle-xml.jar dependency

git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@407 be28352e-c001-0410-b1a7-c7978e42abec

17 years agocyclic IDREF patched castor-1.1.1 source
jprocter [Thu, 28 Jun 2007 13:49:04 +0000 (13:49 +0000)]
cyclic IDREF patched castor-1.1.1 source

git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@406 be28352e-c001-0410-b1a7-c7978e42abec

17 years agoless verbose default logging
jprocter [Thu, 28 Jun 2007 13:11:26 +0000 (13:11 +0000)]
less verbose default logging

git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@405 be28352e-c001-0410-b1a7-c7978e42abec

17 years agofixed regex to remove all kinds of file separators ('\' must be escaped correctly)
jprocter [Tue, 12 Jun 2007 14:42:02 +0000 (14:42 +0000)]
fixed regex to remove all kinds of file separators ('\' must be escaped correctly)

git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@404 be28352e-c001-0410-b1a7-c7978e42abec

17 years agoAdded to mechanism to determine if a client closing is the last one of the session.
pmarguerite [Tue, 12 Jun 2007 10:40:53 +0000 (10:40 +0000)]
Added to mechanism to determine if a client closing is the last one of the session.
Each application creates a file with a lock on it in a subdirectory of the session.
When a client is closing, it checks if there is no other locked file.
If no file, it is the last one and closes the sessions.

git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@403 be28352e-c001-0410-b1a7-c7978e42abec

17 years agoschema changes: provenance-entry-date is now an xmlSchema:dateTime bound directly...
jprocter [Tue, 22 May 2007 15:16:26 +0000 (15:16 +0000)]
schema changes: provenance-entry-date is now an xmlSchema:dateTime bound directly to java.util.Date.  Sequence and alignment sequence associated annotation takes an array of object references. Trees have a nodeMapping object to map between entities in the tree representation and objects in the document. Dataset sequences have Vxrefs which are named references to one or more other document objects.

git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@402 be28352e-c001-0410-b1a7-c7978e42abec

17 years agolog validation errors which cause the 'mergeRoots' call to fail.
jprocter [Mon, 21 May 2007 12:37:50 +0000 (12:37 +0000)]
log validation errors which cause the 'mergeRoots' call to fail.

git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@401 be28352e-c001-0410-b1a7-c7978e42abec

17 years agoVamsasSession: increased time before considering the current client is the last one...
pmarguerite [Mon, 21 May 2007 09:56:26 +0000 (09:56 +0000)]
VamsasSession: increased time before considering the current client is the last one of the session (no modification on the client list).

git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@400 be28352e-c001-0410-b1a7-c7978e42abec

17 years agotest cdoc object retrieve by VorbaId and add timeout for hanging around (needs to...
jprocter [Mon, 21 May 2007 07:28:00 +0000 (07:28 +0000)]
test cdoc object retrieve by VorbaId and add timeout for hanging around (needs to be a specific command)

git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@399 be28352e-c001-0410-b1a7-c7978e42abec

17 years agotodo doc
jprocter [Mon, 21 May 2007 07:26:23 +0000 (07:26 +0000)]
todo doc

git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@398 be28352e-c001-0410-b1a7-c7978e42abec

17 years agofix non-retrieval of vobject by vorba id on clientdoc interface
jprocter [Mon, 21 May 2007 07:25:59 +0000 (07:25 +0000)]
fix non-retrieval of vobject by vorba id on clientdoc interface

git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@397 be28352e-c001-0410-b1a7-c7978e42abec

17 years agoVamsasSession: fixed incorrectly stopping the EventGeneratorThread
pmarguerite [Fri, 18 May 2007 15:14:51 +0000 (15:14 +0000)]
VamsasSession: fixed incorrectly stopping the EventGeneratorThread

git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@396 be28352e-c001-0410-b1a7-c7978e42abec

17 years agoVamsasSession: insure the RemoveClientWatchCallBack handleWatchEvent method. no...
pmarguerite [Fri, 18 May 2007 14:48:31 +0000 (14:48 +0000)]
VamsasSession: insure the RemoveClientWatchCallBack  handleWatchEvent method. no needed to check if there is no client in the client list,if the list does not have been modified

git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@395 be28352e-c001-0410-b1a7-c7978e42abec

17 years agoAdded support for crashed client.
pmarguerite [Fri, 18 May 2007 14:34:04 +0000 (14:34 +0000)]
Added support for crashed client.
Crashed client are removed correctly from the session client.
When a new client joins a session, it adds itself to the session client list and ensures that it is still in the list while it is active.
When a client wants to remove itself from the session, the client clears the session client list to check if it is the last client. (all actives clients should readd themself to the list during two watcher cycles, if the list is still empty. The client consideres itself as the last client of the session and closes properly the session)

git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@394 be28352e-c001-0410-b1a7-c7978e42abec

17 years agobetter command line processing options (load, save) and slower update poll check.
jprocter [Fri, 18 May 2007 11:41:01 +0000 (11:41 +0000)]
better command line processing options (load, save) and slower update poll check.

git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@393 be28352e-c001-0410-b1a7-c7978e42abec

17 years agojavadoc todo
jprocter [Fri, 18 May 2007 11:20:43 +0000 (11:20 +0000)]
javadoc todo

git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@392 be28352e-c001-0410-b1a7-c7978e42abec

17 years agoremoved old Mapping object dependency
jprocter [Fri, 18 May 2007 11:19:24 +0000 (11:19 +0000)]
removed old Mapping object dependency

git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@391 be28352e-c001-0410-b1a7-c7978e42abec

17 years agobuild.xml: modified javadoc ant task to add ref to the lib directory
pmarguerite [Fri, 18 May 2007 09:56:42 +0000 (09:56 +0000)]
build.xml: modified javadoc ant task to add ref to the lib directory

git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@390 be28352e-c001-0410-b1a7-c7978e42abec

17 years agosequenceMapping added
amwaterhouse [Fri, 18 May 2007 09:26:55 +0000 (09:26 +0000)]
sequenceMapping added

git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@389 be28352e-c001-0410-b1a7-c7978e42abec

17 years agocastor-1.1 source generation
jprocter [Tue, 24 Apr 2007 16:38:17 +0000 (16:38 +0000)]
castor-1.1 source generation

git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@388 be28352e-c001-0410-b1a7-c7978e42abec

17 years agoDescriptors live in uk.ac.vamsas.objects.core.descriptors in castor-1.1 xml binding.
jprocter [Tue, 24 Apr 2007 16:37:54 +0000 (16:37 +0000)]
Descriptors live in uk.ac.vamsas.objects.core.descriptors in castor-1.1 xml binding.

git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@387 be28352e-c001-0410-b1a7-c7978e42abec

17 years agorelatively silent debug state (have to sort out of this log4j or the one in resources...
jprocter [Tue, 24 Apr 2007 16:33:25 +0000 (16:33 +0000)]
relatively silent debug state (have to sort out of this log4j or the one in resources is being used)

git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@386 be28352e-c001-0410-b1a7-c7978e42abec

17 years agopick manager and simulation of alignment modification within existing document.
jprocter [Tue, 24 Apr 2007 16:32:03 +0000 (16:32 +0000)]
pick manager and simulation of alignment modification within existing document.

git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@385 be28352e-c001-0410-b1a7-c7978e42abec

17 years agopart-implemented and *untested*
jprocter [Tue, 24 Apr 2007 16:15:30 +0000 (16:15 +0000)]
part-implemented and *untested*

git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@384 be28352e-c001-0410-b1a7-c7978e42abec

17 years agointroduced hashCode based object change detection that works (see vamsas.test.example...
jprocter [Tue, 24 Apr 2007 16:13:49 +0000 (16:13 +0000)]
introduced hashCode based object change detection that works (see vamsas.test.exampleApplication)

git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@383 be28352e-c001-0410-b1a7-c7978e42abec

17 years agoattempt to fix occasional backupSessionFile exception.
jprocter [Tue, 24 Apr 2007 16:12:47 +0000 (16:12 +0000)]
attempt to fix occasional backupSessionFile exception.

git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@382 be28352e-c001-0410-b1a7-c7978e42abec

17 years agoambiguous import of 'Lock' removed.
jprocter [Tue, 24 Apr 2007 16:08:59 +0000 (16:08 +0000)]
ambiguous import of 'Lock' removed.

git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@381 be28352e-c001-0410-b1a7-c7978e42abec

17 years agoincorrect update approach (attempt prior to hashCode fix in castor-1.1(v))
jprocter [Tue, 24 Apr 2007 16:07:59 +0000 (16:07 +0000)]
incorrect update approach (attempt prior to hashCode fix in castor-1.1(v))

git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@380 be28352e-c001-0410-b1a7-c7978e42abec

17 years agoint to long type change in castor-1.1(v) objects
jprocter [Tue, 24 Apr 2007 16:05:51 +0000 (16:05 +0000)]
int to long type change in castor-1.1(v) objects

git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@379 be28352e-c001-0410-b1a7-c7978e42abec

17 years agorebult for castor-1.1(vamsas version)
jprocter [Tue, 24 Apr 2007 16:04:22 +0000 (16:04 +0000)]
rebult for castor-1.1(vamsas version)

git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@378 be28352e-c001-0410-b1a7-c7978e42abec

17 years agoupdated to castor-1.1 + Vamsas Specific hashCode modification
jprocter [Tue, 24 Apr 2007 16:02:26 +0000 (16:02 +0000)]
updated to castor-1.1 + Vamsas Specific hashCode modification

git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@377 be28352e-c001-0410-b1a7-c7978e42abec

17 years agofixed session log configuration
jprocter [Tue, 24 Apr 2007 15:58:37 +0000 (15:58 +0000)]
fixed session log configuration

git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@376 be28352e-c001-0410-b1a7-c7978e42abec

17 years agoupdated to castor-1.1 + Vamsas Specific hashCode modification
jprocter [Tue, 24 Apr 2007 15:55:36 +0000 (15:55 +0000)]
updated to castor-1.1 + Vamsas Specific hashCode modification

git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@375 be28352e-c001-0410-b1a7-c7978e42abec

17 years agoupdated to castor-1.1 + Vamsas Specific hashCode modification
jprocter [Tue, 24 Apr 2007 15:55:11 +0000 (15:55 +0000)]
updated to castor-1.1 + Vamsas Specific hashCode modification

git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@374 be28352e-c001-0410-b1a7-c7978e42abec

17 years agoupdated to castor-1.1 + Vamsas Specific hashCode modification
jprocter [Tue, 24 Apr 2007 15:54:37 +0000 (15:54 +0000)]
updated to castor-1.1 + Vamsas Specific hashCode modification

git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@373 be28352e-c001-0410-b1a7-c7978e42abec

17 years agoupdate detection mechanism based comparing the difference between the position of...
jprocter [Tue, 20 Mar 2007 14:27:01 +0000 (14:27 +0000)]
update detection mechanism based comparing the difference between the position of start and end tags of a Vobject between successive document unmarshallings.

git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@372 be28352e-c001-0410-b1a7-c7978e42abec

17 years agoupdate detection mechanism based comparing the difference between the position of...
jprocter [Tue, 20 Mar 2007 14:27:00 +0000 (14:27 +0000)]
update detection mechanism based comparing the difference between the position of start and end tags of a Vobject between successive document unmarshallings.

git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@371 be28352e-c001-0410-b1a7-c7978e42abec

17 years agopass maintained hash of Vobject hash values to IdFactory so it can detect modified...
jprocter [Tue, 20 Mar 2007 14:19:41 +0000 (14:19 +0000)]
pass maintained hash of Vobject hash values to IdFactory so it can detect modified objects.

git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@370 be28352e-c001-0410-b1a7-c7978e42abec

17 years agocommented out methods that might be used for accessing a list of updated objects...
jprocter [Tue, 20 Mar 2007 14:17:55 +0000 (14:17 +0000)]
commented out methods that might be used for accessing a list of updated objects stored in the vamsas session

git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@369 be28352e-c001-0410-b1a7-c7978e42abec

17 years agojavadoc
jprocter [Tue, 20 Mar 2007 14:16:49 +0000 (14:16 +0000)]
javadoc

git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@368 be28352e-c001-0410-b1a7-c7978e42abec

17 years agonew constructor to pass hash of Vobject hash values to unmarshalling mechanism for...
jprocter [Tue, 20 Mar 2007 14:16:33 +0000 (14:16 +0000)]
new constructor to pass hash of Vobject hash values to unmarshalling mechanism for comparison with document objects.

git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@367 be28352e-c001-0410-b1a7-c7978e42abec

17 years agotrap exceptions during session events and ensure pick messages are blocked whilst...
jprocter [Mon, 19 Mar 2007 13:26:04 +0000 (13:26 +0000)]
trap exceptions during session events and ensure pick messages are blocked whilst document changed events occur

git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@366 be28352e-c001-0410-b1a7-c7978e42abec

17 years agodebug log output
jprocter [Mon, 19 Mar 2007 13:24:26 +0000 (13:24 +0000)]
debug log output

git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@365 be28352e-c001-0410-b1a7-c7978e42abec

17 years agoswitched picker shutdown to after finalize() call - simulating GUI shutdown after...
jprocter [Thu, 15 Mar 2007 15:25:25 +0000 (15:25 +0000)]
switched picker shutdown to after finalize() call - simulating GUI shutdown after Vamsas session shutdown.

git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@364 be28352e-c001-0410-b1a7-c7978e42abec

17 years agoWatcherElement reference should be nulled by caller of removeClient rather than withi...
jprocter [Thu, 15 Mar 2007 14:54:56 +0000 (14:54 +0000)]
WatcherElement reference should be nulled by caller of removeClient rather than within method.

git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@363 be28352e-c001-0410-b1a7-c7978e42abec

17 years agointerrupt before wait sleep so haltWatchers is more likely to return after watchThrea...
jprocter [Thu, 15 Mar 2007 14:50:42 +0000 (14:50 +0000)]
interrupt before wait sleep so haltWatchers is more likely to return after watchThread has stopped.

git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@362 be28352e-c001-0410-b1a7-c7978e42abec

17 years agoMessages are thrown away when passThru is false (rather than receiver thread sleeping...
jprocter [Thu, 15 Mar 2007 14:48:20 +0000 (14:48 +0000)]
Messages are thrown away when passThru is false (rather than receiver thread sleeping). Better shutdown behaviour (thread references are nulled)

git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@361 be28352e-c001-0410-b1a7-c7978e42abec

17 years agoclosing channel always releases lock (on windows anyhow)
jprocter [Thu, 15 Mar 2007 14:45:29 +0000 (14:45 +0000)]
closing channel always releases lock (on windows anyhow)

git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@360 be28352e-c001-0410-b1a7-c7978e42abec

17 years agooccasional null pointer exception
jprocter [Thu, 15 Mar 2007 14:44:03 +0000 (14:44 +0000)]
occasional null pointer exception

git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@359 be28352e-c001-0410-b1a7-c7978e42abec

17 years agoensured backups are only made when backup==true
jprocter [Thu, 15 Mar 2007 14:43:39 +0000 (14:43 +0000)]
ensured backups are only made when backup==true

git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@358 be28352e-c001-0410-b1a7-c7978e42abec

17 years agoremoved infinite loop on server shutdown
jprocter [Thu, 15 Mar 2007 14:16:08 +0000 (14:16 +0000)]
removed infinite loop on server shutdown

git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@357 be28352e-c001-0410-b1a7-c7978e42abec

17 years agomore debug messages.
jprocter [Thu, 8 Mar 2007 14:19:16 +0000 (14:19 +0000)]
more debug messages.

git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@356 be28352e-c001-0410-b1a7-c7978e42abec

17 years agosimplified and bugfixed occasional lock contention.
jprocter [Thu, 8 Mar 2007 14:18:23 +0000 (14:18 +0000)]
simplified and bugfixed occasional lock contention.

git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@355 be28352e-c001-0410-b1a7-c7978e42abec

17 years agobugfixes for shutdown and null message reception.
jprocter [Thu, 8 Mar 2007 14:17:10 +0000 (14:17 +0000)]
bugfixes for shutdown and null message reception.

git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@354 be28352e-c001-0410-b1a7-c7978e42abec

17 years agoutility functions for dealing with Range and Properties elements.
jprocter [Thu, 8 Mar 2007 14:07:22 +0000 (14:07 +0000)]
utility functions for dealing with Range and Properties elements.

git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@353 be28352e-c001-0410-b1a7-c7978e42abec

17 years agoremove unnecessary existence checks.
jprocter [Thu, 8 Mar 2007 13:14:55 +0000 (13:14 +0000)]
remove unnecessary existence checks.

git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@352 be28352e-c001-0410-b1a7-c7978e42abec

17 years agoremove unnecessary existence checks.
jprocter [Thu, 8 Mar 2007 13:14:30 +0000 (13:14 +0000)]
remove unnecessary existence checks.

git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@351 be28352e-c001-0410-b1a7-c7978e42abec

17 years agoAdded shutdown() methods for the socket-based PickManager code.
imilne [Wed, 7 Mar 2007 11:09:07 +0000 (11:09 +0000)]
Added shutdown() methods for the socket-based PickManager code.

git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@350 be28352e-c001-0410-b1a7-c7978e42abec

17 years agostub for the dom tree update event generator.
jprocter [Tue, 6 Mar 2007 12:57:09 +0000 (12:57 +0000)]
stub for the dom tree update event generator.

git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@349 be28352e-c001-0410-b1a7-c7978e42abec

17 years agoadded PickManager test code. Current state of library means this example app fails...
jprocter [Tue, 6 Mar 2007 12:56:31 +0000 (12:56 +0000)]
added PickManager test code. Current state of library means this example app fails to shutdown after three instances have been started.

git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@348 be28352e-c001-0410-b1a7-c7978e42abec

17 years agosynchronized methods to ensure thread safety for underlying SimplePickManager code...
jprocter [Tue, 6 Mar 2007 12:55:46 +0000 (12:55 +0000)]
synchronized methods to ensure thread safety for underlying SimplePickManager code. (not successful yet!)

git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@347 be28352e-c001-0410-b1a7-c7978e42abec

17 years agoensured single instance of vamsasarchive io handler to prevent lock contention.
jprocter [Tue, 27 Feb 2007 22:19:12 +0000 (22:19 +0000)]
ensured single instance of vamsasarchive io handler to prevent lock contention.

git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@346 be28352e-c001-0410-b1a7-c7978e42abec

17 years agonon-1.4 factory construtors removed.
jprocter [Mon, 12 Feb 2007 14:33:21 +0000 (14:33 +0000)]
non-1.4 factory construtors removed.

git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@345 be28352e-c001-0410-b1a7-c7978e42abec

17 years agoAdded generateClientUrn method to generate a urn from client name and version. Ensure...
pmarguerite [Fri, 2 Feb 2007 17:45:52 +0000 (17:45 +0000)]
Added generateClientUrn method to generate a urn from client name and version. Ensures that the client urn is generated, when one of the attribute is modified. And, add support for null attribute in the equals method

git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@344 be28352e-c001-0410-b1a7-c7978e42abec

17 years agoAvoid creation of ClientHandle and UserHandle objects with null attributes. Otherwise...
pmarguerite [Fri, 2 Feb 2007 17:39:51 +0000 (17:39 +0000)]
Avoid creation of ClientHandle and UserHandle objects with null attributes. Otherwise, problem with null pointer exception.

git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@343 be28352e-c001-0410-b1a7-c7978e42abec

17 years agolog config (with SESSIONLOG config too).
jprocter [Fri, 12 Jan 2007 15:54:01 +0000 (15:54 +0000)]
log config (with SESSIONLOG config too).
Need to separate SESSIONLOG in future.

git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@342 be28352e-c001-0410-b1a7-c7978e42abec

17 years agoSimpleClient implementation testable against uk.ac.vamsas.test.ExampleApplication
jprocter [Fri, 12 Jan 2007 15:51:15 +0000 (15:51 +0000)]
SimpleClient implementation testable against uk.ac.vamsas.test.ExampleApplication

git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@341 be28352e-c001-0410-b1a7-c7978e42abec

17 years agofixed bug leaving copies of archive backups (no testcase for this)
jprocter [Fri, 12 Jan 2007 15:47:39 +0000 (15:47 +0000)]
fixed bug leaving copies of archive backups (no testcase for this)

git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@340 be28352e-c001-0410-b1a7-c7978e42abec

17 years agoextended to test against SimpleClient implementation
jprocter [Fri, 12 Jan 2007 15:46:10 +0000 (15:46 +0000)]
extended to test against SimpleClient implementation

git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@339 be28352e-c001-0410-b1a7-c7978e42abec

17 years agoadded TODO for testing getAppData method before migration to simpleClient.
jprocter [Fri, 12 Jan 2007 15:42:39 +0000 (15:42 +0000)]
added TODO for testing getAppData method before migration to simpleClient.

git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@338 be28352e-c001-0410-b1a7-c7978e42abec

17 years agountested watcherElement for spotting changes in SessionFlagFile presence/absence.
jprocter [Fri, 12 Jan 2007 15:39:22 +0000 (15:39 +0000)]
untested watcherElement for spotting changes in SessionFlagFile presence/absence.

git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@337 be28352e-c001-0410-b1a7-c7978e42abec

17 years agoformal polling thread for particular FileWatcher types (VamsasFile or SessionFile...
jprocter [Fri, 12 Jan 2007 15:38:15 +0000 (15:38 +0000)]
formal polling thread for particular FileWatcher types (VamsasFile or SessionFile style)

git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@336 be28352e-c001-0410-b1a7-c7978e42abec

17 years agomethod to get File object being watched
jprocter [Fri, 12 Jan 2007 15:35:44 +0000 (15:35 +0000)]
method to get File object being watched

git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@335 be28352e-c001-0410-b1a7-c7978e42abec

17 years agofixed subtle bug in closeChannel behaviour on lock release and debug logging.
jprocter [Fri, 12 Jan 2007 15:34:27 +0000 (15:34 +0000)]
fixed subtle bug in closeChannel behaviour on lock release and debug logging.

git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@334 be28352e-c001-0410-b1a7-c7978e42abec

17 years agowrapper for conditionally passing picks onto the client application
jprocter [Fri, 12 Jan 2007 15:26:43 +0000 (15:26 +0000)]
wrapper for conditionally passing picks onto the client application

git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@333 be28352e-c001-0410-b1a7-c7978e42abec

17 years agoadded (broken) haltPickManager methods
jprocter [Fri, 12 Jan 2007 15:26:11 +0000 (15:26 +0000)]
added (broken) haltPickManager methods

git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@332 be28352e-c001-0410-b1a7-c7978e42abec

17 years agorefactoring org->uk.ac
jprocter [Fri, 12 Jan 2007 13:29:45 +0000 (13:29 +0000)]
refactoring org->uk.ac

git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@331 be28352e-c001-0410-b1a7-c7978e42abec

17 years ago VamsasSession: Fixed VamsasSession init/construction if the session directory exist...
pmarguerite [Fri, 5 Jan 2007 19:01:15 +0000 (19:01 +0000)]
 VamsasSession: Fixed  VamsasSession init/construction if the session directory exists and do not contains session files.

git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@330 be28352e-c001-0410-b1a7-c7978e42abec

17 years agowhen closing session, closes each associated VAMAV clients
pmarguerite [Thu, 4 Jan 2007 15:45:53 +0000 (15:45 +0000)]
when closing session, closes each associated VAMAV clients

git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@329 be28352e-c001-0410-b1a7-c7978e42abec

18 years agomore refactoring fallout
jprocter [Fri, 15 Dec 2006 17:32:41 +0000 (17:32 +0000)]
more refactoring fallout

git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@328 be28352e-c001-0410-b1a7-c7978e42abec

18 years agoUpdated simple client sessionURN to use URI instead of URL to generate SessionURN...
pmarguerite [Fri, 15 Dec 2006 16:13:25 +0000 (16:13 +0000)]
Updated simple client sessionURN to use URI instead of URL to generate SessionURN (URI) from the session directory path (file location or vamsas session).
Updated SimpleClient to match modified constructor (MalformedURL not throw anymore)

git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@327 be28352e-c001-0410-b1a7-c7978e42abec

18 years agoSessionURN fix asFile method now create the File object from the URI
pmarguerite [Fri, 15 Dec 2006 15:58:04 +0000 (15:58 +0000)]
SessionURN fix asFile method now create the File object from the URI

git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@326 be28352e-c001-0410-b1a7-c7978e42abec

18 years agoAdded TestSessionURN: to test the creation of a sessionURN and to retrieve a correct...
pmarguerite [Fri, 15 Dec 2006 15:47:37 +0000 (15:47 +0000)]
Added TestSessionURN: to test the creation of a sessionURN and to retrieve a correct file from it.

git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@325 be28352e-c001-0410-b1a7-c7978e42abec

18 years agoSessionUrn: modified to scope with windows (space ... in file name. Use URI instead...
pmarguerite [Fri, 15 Dec 2006 15:46:51 +0000 (15:46 +0000)]
SessionUrn: modified to scope with windows  (space ... in file name. Use URI instead of URL

git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@324 be28352e-c001-0410-b1a7-c7978e42abec

18 years agoModified CustomMessage.java so that tabs are used to separate message elements rather...
imilne [Fri, 15 Dec 2006 15:09:28 +0000 (15:09 +0000)]
Modified CustomMessage.java so that tabs are used to separate message elements rather than underscores.

git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@323 be28352e-c001-0410-b1a7-c7978e42abec

18 years agoModified MouseOverMessage.java so that tabs are used to separate message elements...
imilne [Fri, 15 Dec 2006 15:08:57 +0000 (15:08 +0000)]
Modified MouseOverMessage.java so that tabs are used to separate message elements rather than underscores.

git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@322 be28352e-c001-0410-b1a7-c7978e42abec

18 years agoSessionHandle: added equals method to compare SessionHandles, based on the sessionUrn
pmarguerite [Fri, 15 Dec 2006 15:07:30 +0000 (15:07 +0000)]
SessionHandle: added equals method to compare SessionHandles, based on the sessionUrn

git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@321 be28352e-c001-0410-b1a7-c7978e42abec

18 years agoamsasSession: added addClient and removeClient to add and remove a client to/from...
pmarguerite [Fri, 15 Dec 2006 15:06:25 +0000 (15:06 +0000)]
amsasSession: added addClient and removeClient to add and remove a client to/from the session client list.
Attached (as attribute) a SessionManager

Removes  the currentSession of the active session list, if the client to removed is the last one of the list

git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@320 be28352e-c001-0410-b1a7-c7978e42abec

18 years agoMoves sessionFile management to SimpleSessionManager calling SessionsFile class...
pmarguerite [Fri, 15 Dec 2006 15:03:10 +0000 (15:03 +0000)]
Moves sessionFile management to SimpleSessionManager  calling SessionsFile class  (dealing directly with the file)

git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@319 be28352e-c001-0410-b1a7-c7978e42abec

18 years agoSimpleClient: remove client of the session client list when closing/finalizing (final...
pmarguerite [Fri, 15 Dec 2006 15:01:43 +0000 (15:01 +0000)]
SimpleClient: remove client of the session client list when closing/finalizing (finalizeClient method)
added get_session() to retrieve current vamsas session

git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@318 be28352e-c001-0410-b1a7-c7978e42abec

18 years agoAdded comment about handling messages in the GUI event thread.
imilne [Fri, 15 Dec 2006 13:53:29 +0000 (13:53 +0000)]
Added comment about handling messages in the GUI event thread.

git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@317 be28352e-c001-0410-b1a7-c7978e42abec

18 years agoAdded getter methods to the MouseOverMessage class.
imilne [Fri, 15 Dec 2006 13:49:52 +0000 (13:49 +0000)]
Added getter methods to the MouseOverMessage class.
Added code to MouseOverMessage.java so it can reconstruct the message object from the raw data stream.

git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@316 be28352e-c001-0410-b1a7-c7978e42abec

18 years agointernal flags for added and updated since last read for Vobjects tested with Archive...
jprocter [Fri, 15 Dec 2006 12:05:06 +0000 (12:05 +0000)]
internal flags for added and updated since last read for Vobjects tested with ArchiveClient code.

git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@315 be28352e-c001-0410-b1a7-c7978e42abec

18 years agoChecked in the document update handler interface and a concrete implementation of...
imilne [Fri, 15 Dec 2006 11:52:41 +0000 (11:52 +0000)]
Checked in the document update handler interface and a concrete implementation of it (that contains empty methods).

git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@314 be28352e-c001-0410-b1a7-c7978e42abec