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. 

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: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 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" <[EMAIL PROTECTED]> wrote:

> Hi,
>  
> I am trying to add multiple project support to the sourcejammer eclipse 
> plugin (V 2).
>  
> 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.
>  
> 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.
>  
> Any ideas to get around this problem (without changing the SJ code)???
>  
> Thanks,
> Karan Gupta
> Software Engineer
> TransCore, San Diego 
> (858) 736 - 8246
>  
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


-------------------------------------------------------
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=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
SourceJammer-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sourcejammer-devel


-------------------------------------------------------
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=lnk&kid0709&bid&3057&dat1642
_______________________________________________
SourceJammer-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sourcejammer-devel

Reply via email to