Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [mylar-dev] Questions, issues when updating connector to Mylar 2.0M2

Hi Lubos,

 

Please do not hesitate to get frustrated as long as you are vocal about it, because that helps us understand the sort of porting problems that other integrators will be having.

 

Yes, the implementation and our understanding of how best to provide and integrate tasks into the IDE is still evolving rapidly, largely thanks to all the feedback we get via bugs.  We are trying very hard to stabilize the APIs for 2.0 so that changes after 2.0 are easier to port to.  But we need as much integrator feedback as possible, since implementing many of the requests from integrators involve making breaking API changes.

 

Mik

 

From: mylar-dev-bounces@xxxxxxxxxxx [mailto:mylar-dev-bounces@xxxxxxxxxxx] On Behalf Of Lubos and Alena Pochman
Sent: Tuesday, April 10, 2007 5:43 PM
To: Mylar developer discussions
Subject: Re: [mylar-dev] Questions, issues when updating connector to Mylar 2.0M2

 

Mik,

as always great and useful answers. I was actually using AbstractRepositoryTask.getElapsedTime(), because CodeBeamer supports elapsed time attribute. I understand that changes and breaking API backward especially with relatively new project like Mylar are necessary. I as connector developer have to be more patient and not get frustrated when everything doesn't port smoothly.

Lubos

On 4/10/07, Mik Kersten <beatmik@xxxxxxx> wrote:

Lubos, I completely agree that the dev list should be used to ease porting and you should always feel free to ask questions of this sort and expect them to be answered.  This will help us refine the Porting Guide.  The idea is that for any changes that cannot be fixed by organizing imports you should be able to hit Ctrl+F on the Porting Guide to figure out what to do.  The changes for the 2.0 APIs are going to be substantial, largely because we are trying to make it easier to create connectors.  We want to make sure that we make porting as straightforward as possible.

 

I've updated the Porting Guide to ensure that each of your questions is answered more clearly.  To summarize:

·         AbstractRepositoryTask.getElapsedTime() was removed - where do I get elapsed time info?

This method was on Task and was not used.  Use TaskListManager.getElapsedTime(ITask) instead, but note that it might move to a new TaskActivityManager class (see Pending Changes section)

·         AbstractRepositoryTask.getIdentifyingLabel () was removed - how do I set the task list label?

Set it in the constructor or use setDescription().

·         AbstractRepositoryQuery.setMaxHits() was removed - is max hits still supported and if so where should it be set?

Max hits turned out to be a bad idea, use QueryHitCollector.MAX_HITS if you want to constrain hits, see the following bug for details:

 

176297: [api] get rid of query max setting

https://bugs.eclipse.org/bugs/show_bug.cgi?id=176297

 

Let us know if you have any other questions and please feel free to elaborate on the entries in the porting guide if anything is unclear.

 

Mik

 

From: mylar-dev-bounces@xxxxxxxxxxx [mailto:mylar-dev-bounces@xxxxxxxxxxx] On Behalf Of Lubos and Alena Pochman
Sent: Tuesday, April 10, 2007 2:46 PM
To: Mylar developer discussions
Subject: Fwd: [mylar-dev] Questions, issues when updating connector to Mylar 2.0M2


Nathan,

I do not think that porting guide is very useful answering my questions.
It does not explain where to get "elapsed time", and it does not explain if there is any replacement
for maxHits or if maxHits are now hardcoded.

It is not easy to develop Mylar connector. It should be at least reasonably easy to port it to next Mylar version 8-).
And help from dev list is critical for the connector developers.

Lubos Pochman

 

On 4/9/07, Nathan Hapke <nhapke@xxxxxxxxx> wrote:

See http://wiki.eclipse.org/index.php/Mylar_Porting_Guide

Nathan

Lubos and Alena Pochman wrote:
> Hi guys,
>
> I have following questions, issues that I had to deal with when updating
> CodeBeamer connector to Mylar 2.0M2 and Eclipse 3.3M6:
>
> AbstractRepositoryTask.getElapsedTime() was removed - where do I get
> elapsed time info?
> AbstractRepositoryTask.getIdentifyingLabel () was removed - how do I set
> the task list label?
> AbstractRepositoryQuery.setMaxHits() was removed - is max hits still
> supported and if so where should it be set?
>
> Thanks, Lubos Pochman
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> mylar-dev mailing list
> mylar-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/mylar-dev
_______________________________________________
mylar-dev mailing list
mylar-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/mylar-dev

 


_______________________________________________
mylar-dev mailing list
mylar-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/mylar-dev

 


Back to the top