Discussions  >  Developers  >  Re: SFEE Mylyn connector problems in Mylyn 3.0 branch

Back to topic list

Re: SFEE Mylyn connector problems in Mylyn 3.0 branch

Author selsemore (OCN Member)
Full name Stephen Elsemore
Date 2008-07-07 15:55:08 PDT
Message David,

Thanks, that seemed to fix the problem.

I¹ll continue testing the connector.

Steve


On 7/7/08 3:11 PM, "David Shepherd" <XXXX@XXXX> wrote:

> Stephen,
>
> OK, you should be able to test without a problem nowŠ. Let me know if you
> continue to have the same problem.
>
> The SFEE connector should be mainly functioning with the exception of a few
> problems caused by recent changes (e.g., Task Progress fields are currently
> displaying incorrectly).  It would be great if you are interested in testing
> this connector and filing bugs against it (maybe using the test repository?). 
>
> Sorry about the reformatting issuesŠ my editor is set to automatically
> reformat any lines I have edited.  I thought this would help with code
> readability, but I now see it can cause some problems when trying to compare
> to older versions.
>
> Let me know if you need any other informationŠ
>
> Regards,
> DS
>
>
>
>
> From: Stephen Elsemore [mailto:XXXX@XXXX]
> Sent: Monday, July 07, 2008 9:42 AM
> To: XXXX@XXXX
> Cc: Shawn Minto; Mik Kersten
> Subject: SFEE Mylyn connector problems in Mylyn 3.0 branch
>
> David,
>
> I¹ve started testing the SFEE Mylyn integration for Mylyn 3.0, but couldn¹t
> get far because I ran into this problem:
> 1. Create a new repository.
> 2. Attempt to add a query.
>
> I get a Mylyn Error dialog. Reason: ³Session is invalid or timed out: null²
>
> I did a little debugging and found that this is happening because the new task
> repository returns true for isAnonymous(), and anonymous login is currently
> not supported by the SFEE connector.
>
> I noticed that in TrackerRepositorySet​tingsPage.createTask​Repository(), the
> following statement has been commented out:
>
> repository.setAnonymous(false);
>
> Since TaskRepository.setAnonymous has been removed in Mylyn 3.0, I tried
> replacing it with this:
>
> repository.setProper​ty(TaskRepository.AN​ONYMOUS_LOGIN, "false");
>
> I also added the above statement to
> TrackerRepositorySet​tingsPage.updateProp​erties.
>
> However, this did not fix the problem because updateProperties method has been
> removed from AbstractRepositorySettingsPage in Mylyn 3.0., and so the
> TrackerRepositorySettingsPage updateProperties method no longer gets called at
> all.
>
> Because the ³Show my projects only² repository property (Additional Settings )
> is also set in updateProperties, this leads to another problem. If you
> deselect that checkbox when creating a repository, the repository is still
> created with that property set to true.
>
> At this point I decided to back off and take a look at the Mylyn Porting Guide
> to try and figure out the correct way to handle this in Mylyn 3.0, but I was a
> bit disappointed. I couldn¹t find any reference to the removed
> updateProperties method. I took a look at the Mylyn Integrator Reference as
> well, but this is what I found:
>
> ³Adding Connector Repository specific data
>
> Note, that repository url has to be unique.
> Create UI for the custom specific data in MyTrackerRepositorySettingPage
> Override/implement createAdditionalControls()
> Override/implement updateProperties() to store the data in TaskRepository
> properties so they can be retrieved and used later²
>
> Can anybody point me in the right direction? I¹d like to get involved in
> getting all our plugins working with Mylyn 3.0.
>
> A few other things I noticed while trying to debug this:
>
> 1) It was a little difficult to compare mylyn-3.0 branch to trunk because a
> lot of arbitrary reformatting seems to have been done in the 3.0 branch, at
> least in the few classes that I was looking at.
> 2) There are still a lot of deprecated methods used (for example, all the
> deprecated TaskRepository methods used in TrackerClientManager). Maybe this
> is OK for now?
>
> Thanks,
> Steve
>
Attachments

« Previous message in topic | 6 of 6 | Next message in topic »

Messages

Show all messages in topic

SFEE Mylyn connector problems in Mylyn 3.0 branch selsemore (OCN Member) Stephen Elsemore 2008-07-07 09:42:16 PDT
     RE: SFEE Mylyn connector problems in Mylyn 3.0 branch dshepherd (OCN Member) David Shepherd 2008-07-07 10:14:07 PDT
     RE: SFEE Mylyn connector problems in Mylyn 3.0 branch dshepherd (OCN Member) David Shepherd 2008-07-07 11:33:29 PDT
         Re: SFEE Mylyn connector problems in Mylyn 3.0 branch markphip (OCN Member) Mark Phippard 2008-07-07 11:35:07 PDT
     RE: SFEE Mylyn connector problems in Mylyn 3.0 branch dshepherd (OCN Member) David Shepherd 2008-07-07 15:11:12 PDT
         Re: SFEE Mylyn connector problems in Mylyn 3.0 branch selsemore (OCN Member) Stephen Elsemore 2008-07-07 15:55:08 PDT
Messages per page: