RE: [SourceJammer-devel] plugin: mutliple project
Brought to you by:
robertmacgrogan
From: Gupta, K. <kar...@tr...> - 2006-05-03 06:37:21
|
Thanks Rob, Oh man, I didn't know the plugin worked this way (I was not able to get = it running in our environment -- I've mentioned the problem in earlier = mails). If I would have known I would have written the new code along = these lines.=20 Anyway, I've also written a decorator to decorate the file icons, change = the color of the filenames etc. to mimic sourcejammer client behaviour. = This decorator is executed as and when necessary to redecorate the files = in the Project Explorer based on their status on the server. If the = plugin keeps connecting and disconnecting from the projects = (automatically) it might slow down the environment -- what do you think? = On the other hand, now the plugin does not maintain 3 connections to the = server, pooling its single connection, to the project that needs it. I'll work on it and let you know how it goes... Thanks, Karan -----Original Message----- From: sou...@li... [mailto:sou...@li...]On Behalf Of Robert MacGrogan Sent: Tuesday, May 02, 2006 6:04 PM To: ML SJ Devel (E-mail) Subject: Re: [SourceJammer-devel] plugin: mutliple project I'm pretty sure that SJ Eclipse already handles this just fine. You can = set up different projects to point to different spaces in a single archive, different archives on = the same server, or different archives on different servers. When you switch from a project = on one archive to a project on another archive, the only way you'll be able to tell is that = SJ Eclipse will prompt you again for your login info. (In fact, I've just tested and this is = exactly what happens.) This is a bit of a pain, but even this can be worked around. The SJ client deals with this by first trying to log in to the new = archive using the user's current login info. If that works, presto. If it doesn't, SJ catches the = exception and then prompts with the login dialog. Something like that will probably work in SJ Eclipse. --Rob --- "Gupta, Karan" <kar...@tr...> wrote: > Hi, > =20 > I am trying to add multiple project support to the sourcejammer = eclipse plugin (V 2). > =20 > Say I have 3 projects in the workspace. > So SJ connection properties ect. can all be set for all 3 of them = separately. > When Eclipse starts, it can connect to the SJ archive for each project = in the workspace (if > defined). > Files/folders can be operated on transparent to the user that 3 = connections to the SJ server are > running in the background. > =20 > However, both SimpleInterface and CommandCentral and singletons. > So at one time, the plugin can only hold one instance of each, and so = only one connection to > only one archive on the server. > =20 > Any ideas to get around this problem (without changing the SJ code)??? > =20 > Thanks, > Karan Gupta > Software Engineer > TransCore, San Diego=20 > (858) 736 - 8246 > =20 >=20 __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around=20 http://mail.yahoo.com=20 ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, = security? Get stuff done quickly with pre-integrated technology to make your job = easier Download IBM WebSphere Application Server v.1.0.1 based on Apache = Geronimo http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D= 121642 _______________________________________________ SourceJammer-devel mailing list Sou...@li... https://lists.sourceforge.net/lists/listinfo/sourcejammer-devel |