Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [mylar-dev] Connector Tutorial


There is also enhancement request for contributing PDE wizards that would allow to generate connector stubs and implement extension points for Mylar.

See 170395: Mylar should contribute PDE wizards for creating Mylar's extension points
https://bugs.eclipse.org/bugs/show_bug.cgi?id=170395


Mik Kersten wrote:
I just took a quick glance at your tutorial and it looks great.  It would be
very helpful if you could incorporate this material into our Integrator
Reference.  I find the screenshots that you added helpful and suggest
including those as well.  Don't worry about making the document too long, we
can make it a separate wiki page if that happens.  But do try to keep the
content concise and fit it into the current section in order to make it easy
to continue to evolve.

Regarding the example plug-ins, we would love to get that as a contribution.
If you are interested please see the following bug:

170894: Create a simple example on how to create a task repository.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=170894

Mik

-----Original Message-----
From: mylar-dev-bounces@xxxxxxxxxxx [mailto:mylar-dev-
bounces@xxxxxxxxxxx] On Behalf Of Eugene Kuleshov
Sent: Monday, February 26, 2007 11:27 PM
To: Mylar developer discussions
Subject: Re: [mylar-dev] Connector Tutorial

John Vliet wrote:
I have been looking into creating mylar connectors for our project
wiki (on jotspot.com <http://jotspot.com>) and for PVCS Tracker.
While
doing so I have found the documentation quite sparse. I looked
through
http://wiki.eclipse.org/index.php/Mylar_Integrator_Reference#Tasks_fram
ework
and have modeled my connector after the Trac connector as suggested
by
this page.
  Hmm, there are several sections in that document on that suppose to
give more or less step by step instructions. You are very welcome to
extend and clarify this information.

  For example, web connector only implementing first 3 sections from
this list:

http://wiki.eclipse.org/index.php/Mylar_Integrator_Reference#Creating_c
onnector_projects
http://wiki.eclipse.org/index.php/Mylar_Integrator_Reference#Implementi
ng_core_extension_points
http://wiki.eclipse.org/index.php/Mylar_Integrator_Reference#Implementi
ng_UI_extension_points
http://wiki.eclipse.org/index.php/Mylar_Integrator_Reference#Query_supp
ort
http://wiki.eclipse.org/index.php/Mylar_Integrator_Reference#Task_edito
r
http://wiki.eclipse.org/index.php/Mylar_Integrator_Reference#Offline_da
ta_handling
http://wiki.eclipse.org/index.php/Mylar_Integrator_Reference#Deployment
_tips

I have found that you can't really incrementally implement your
connector. Once you start adding a new task, the calls Mylar makes to
your connector plugin require a pretty complete understanding of
repository implementation.
  Not quite true. You do have to have all the methods, but most of them
can be just stubs (i.e. return null or false).
With the scant documentation you have to reverse engineer the
functionality with the debugger. It seems that it should be possible
to have an abstract or basic implementation and model that functions
with minimal work, then you evolve the rest of the features.

I have started to document my experience
(http://jvliet.blogspot.com/2007/02/creating-mylar-connector-plugin-
for.html)
but this is incomplete and I suspect wrong in a few places.
  Nice.
I want to contribute either documentation on how to create a mylar
connector, a template project that makes it easy to start slowly or a
combination. How should I go about doing this? Is there better
documentation to start with for connectors? Is this the right mailing
list to watch (it seems a little light on traffic)?
  You can contribute to the above sections on Mylar's wiki. I think it
would make sense to break your document along those sections and add
pieces into above sections as a practical illustration.

  regards,
  Eugene


_______________________________________________
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