What's the problem of working with the same zargo file with different instances of ArgoUML at the same time?
(in fact, we could do like some other programs that create a X.zargo.lock file in the same directory... but it is VERY annoying when the main application crashes and you are left with a locked file) *maas* Linus Tolke wrote: > Hello Christian! > > This sounds like a good idea but I wouldn't want us to design our own > locking mechanism. Is there java support for a locking mechanism that > uses lockf (on NFS/lockd) and whatever is appropriate (for > Windows/SMB and Mac)? > > On second thought, if the zargo file is under version control we would > like the locking function to reserve it (svn, cvs) or check it out > (rcs, clearcase, sourcesafe, pvcs). Checking it out may also modify > the contents of the file so it will have to be reread. This complexity > of this is huge! The first big challenge would be to detect if the > file is read-only and if so, make the model read-only. That would help > most of our users to avoid making misstakes if they have set up their > file correctly in the version control system (at least for svn, cvs, > rcs, clearcase). > > /Linus > > 2009/3/26 Christian Heinrich <[email protected] > <mailto:[email protected]>> > > Hi there, > > currently, it is possible to work on a .zargo file with several > instances of ArgoUML. I was just wondering if this might lead to > inconsistencies and whether we should use some kind of lock mechanism > for that. > > What do you think? > > Christian > > ------------------------------------------------------ > > http://argouml.tigris.org/ds/viewMessage.do?dsForumId=450&dsMessageId=1431963 > > <http://argouml.tigris.org/ds/viewMessage.do?dsForumId=450&dsMessageId=1431963> > > To unsubscribe from this discussion, e-mail: > [[email protected] > <mailto:[email protected]>]. > To be allowed to post to the list contact the mailing list > moderator, email: [[email protected] <mailto:[email protected]>] > > ------------------------------------------------------ http://argouml.tigris.org/ds/viewMessage.do?dsForumId=450&dsMessageId=1454062 To unsubscribe from this discussion, e-mail: [[email protected]]. To be allowed to post to the list contact the mailing list moderator, email: [[email protected]]
