[SourceJammer-devel] Re: [SourceJammer-users] Re: little prb with sourcejammer
Brought to you by:
robertmacgrogan
From: Albert M. <amo...@ev...> - 2005-07-28 07:42:05
|
I'm moving the thread to the devel list, as it's turning more to it. We don't experience any problems with locks in the server (perhaps twice a year), but the truth is that it does not suffer too high a trade of data. I don't believe the use of plugins would make it go much worse (after all, the client will access the server anyway with the extra communication load), but if you prefer writing a client side program, there are a few people who have done it. I think the starting point is the SimpleInterface class, but I haven't used it, so you ought to check the devel list archive to get a more accurate idea of how to begin. A crawler of the project tree is for sure not too difficult to implement. Albert. ----- Original Message ----- From: "Riccardo Cohen" <rc...@ar...> To: <sou...@li...> Sent: Tuesday, July 26, 2005 4:59 PM Subject: Re: [SourceJammer-users] Re: little prb with sourcejammer > Server side is quite all right for me, except that I often have to restart the jsp server due to > locks pb (??) maybe it is because the server is not very powerful (celeron 500Mhz) > > My main problem is client side : do you think possible that I write a little java class (client > side) that walks through all files of an archive and get their attributes (checkedout or not, > different from local or not, date) ? > > Albert Moliner wrote: > > > Mmm, not exactly. > > Plugins act as listeners of events, but cannot currently modify the repository > > in any way (I like that behaviour). > > To prevent the binary/text problem from happening from now on, you'll have to > > add the extensions to the clients through the Preferences menu, or copy the > > configuration file that stores the types in all the clients (although the > > published files will remain with the wrong type). > > > > To write your own plugin, check the framework API at > > > > http://www.sourcejammer.org/specs/plugins/ > > > > To get the notion of how you could write your own, take a look at the > > extensions/notify files in the SourceJammer repository (the host is > > dev.sourcejammer.org, and I think there's a guest access, Rob knows better about > > it). That's very simple, the docs under resources were pretty complete, and will > > probably help you to start up (itf it does not fit your needs per se). > > Let me know if you want more support, I'm just being short now to avoid boring > > you. > > > > Hope it helps, > > Albert. |