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. ----- Original Message ----- From: "Riccardo Cohen" <[EMAIL PROTECTED]> To: "Albert Moliner" <[EMAIL PROTECTED]> Sent: Tuesday, July 26, 2005 1:17 PM Subject: Re: [SourceJammer-users] Re: little prb with sourcejammer > I'm quite interested in writing a plugin... For that and maybe more. > For instance I just discovered that all my files.hxx were considered as binary (I did not think > about adding this extension at project startup), and I cannot see any diff ! Maybe I can change that > with a plugin ? > > Albert Moliner wrote: > > Hi, Riccardo. > > > > You can either: > > a) Use the built-in logging plugin that writes a row for each operation > > performed in a file in the server > > (WEB-INF\server\archives\<<projectname>>\plugin-work\event-logger), and either > > write a program to parse it or try to get the data manually. > > b) Use the notifier plugin, which will send an email every time someone checks > > something in, or any other action. Ask me if you want some more details on this. > > c) Write your own plugin that alerts you about any change. > > d) Get the whole project to your disk, and SJ will only download the changed > > files (you can know which they are by reading the panel at the bottom of the > > screen). Not advisable if the project is big. > > > > So, you see that you can choose... You can't complain! ;-) > > > > Albert. > > > > > > > > ----- Original Message ----- > > From: "Riccardo Cohen" <[EMAIL PROTECTED]> > > Cc: "SourceJammer Users" <sourcejammer-users@lists.sourceforge.net> > > Sent: Tuesday, July 26, 2005 12:05 PM > > Subject: [SourceJammer-users] Re: little prb with sourcejammer > > > > > > Hi > > Thanks first for your answer about encoding. It works now. > > > > I just wanted to know if there is a way of having a list of files that are not > > sync with the > > server... 5 developers modify the source, and I want to have the up-to-date > > source on my pc (and > > check what they've done!) > > > > Thanks > > > > > > > > > > > > ------------------------------------------------------- > > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > > from IBM. Find simple to follow Roadmaps, straightforward articles, > > informative Webcasts and more! Get everything you need to get up to > > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > > _______________________________________________ > > SourceJammer-users mailing list > > SourceJammer-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/sourcejammer-users > > > > -- > Riccardo Cohen > > Articque > Les Roches > 37230 Fondettes > France > web = http://www.articque.com > tel: +33 02 47 49 90 49 > fax: +33 02 47 49 91 49 > ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ SourceJammer-users mailing list SourceJammer-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sourcejammer-users