Community
Participate
Working Groups
My all-time favourite issue tracking system (so far) is Mantis. Therefore I would like to have it integrated into Mylar. Core Mantis does not have any interface besides its web gui. However, there is the MantisConnect project which is implementing a SOAP interface for accessing a Mantis installation from remote. MantisConnect is even providing a Java API (based on Apache Axis) so one could take this as a starting point. Relevant URLs are: Mantis: http://www.mantisbt.org/ MantisConnect: http://www.futureware.biz/mantisconnect/
There is Java API for Mantis connect http://www.two-toned.at/mc/HomePage Author also implemented nicely done Eclipse UI on top of that. Unfortunately that API is GPL licensed, but maybe Peter wouldn't mind to integrate his code as Mylar connector. I created issue for that at http://www.futureware.biz/mantis/view.php?id=238 PS: strangely, form based editor for bugzilla does not have an URL field.
Hi, I'm the author of the MantisConnect Java API and the Eclipse plugin and it would be a pleasure for me to implement a Mylar connector. One thing that bothers me is licensing. Eugene, this might be a stupid question but is the GPL a general problem in the context of Eclipse (compability with EPL) or did you mean that both the API and all necessary MantisConnect plugins (the core MC plugin and the connector plugin [which would be implemented]) should be directly integrated into the source tree of Mylar? My current implementation looks like this: The core plugin requires the API. The connector plugin requires the core plugin. It would be in my interest that the API and the core plugin remain parts of the MantisConnect project. It would not be a problem for me to integrate the connector into the Mylar source tree. What do you think?
Peter, I just meant that your API can't be used to build plugin hosted on eclipse.org. From other hand, it will be ok, if you provide connecor for Mylar and host it on your update site. It would be really convenient to the users to have Mantis stuff right out of the box with Mylar, but it is probably possible to link your update site within Mylar's.
Peter, If you decide to keep the GPL license and host the connector on your site would you also then consider deploying it (and other of your libraries that it depends on) to the central Maven repo at ibiblio? Reason why I am wondering is that we are thinking of creating a Maven plugin that uses Mylar Task API. We would like Mantis support and it would easy end-user usage dramatically if so.
Sorry for asking this here, but can be of interest of all: anyone here has a web connector template for Mantis? I'm having some headaches while trying to figure out the regexp while configuring a new query. The message is "Unable to parse resource. Check query regexp", but I'm not sure if my regexp is wrong. Can it be related to bug#151602?
Willian, please create an issue about adding Mantis template to web connector. I'll create it for you.
Done. bug#155861.
Eugene, Willian: while we wait for a rich Connector for Mantis it would be great to see it supported by the Generic Web Connector. Peter: have you made progress in figuring out how to go about hosting and licensing it? My thoughts on this are: * Consider hosting it on Mantis to start. For the most part we're considering the Connectors available directly from the Mylar project to be incubators that have helped us grow the Tasks Framework, but we want to make sure that we do a good job of supporting connectors hosted outside of the project. If it turns out to be more valuable to have it be a part of Mylar (e.g. to make it more visible to Eclipse users on Mantis) we can consider integrating it into the Mylar project at any point in the future. * When you start on this I suggest that you post the repository details here so that at least I can check out your sources and be aware of any refactorings that could break your code. * I strongly suggest making the Connector itself under the EPL. You can still use your Mantis Connect library and make that a dependency, and it can be installed via an update site dependency, similar to how we handle Tigris.org dependencies: http://eclipse.org/mylar/dl.php * Don't worry about distribution, since we can be flexible in this respect. As Eugene points out we could link your update site with our install. Let me know what you think, and if any other questions come up. For getting started see "Contributing" and "Integrating" at: http://wiki.eclipse.org/index.php/Mylar
(In reply to comment #8) > Eugene, Willian: while we wait for a rich Connector for Mantis it would be > great to see it supported by the Generic Web Connector. Patch is attached to bug 155861
EU, don't you ever sleep? You hereby go as the "Mailman" - always delivers :)
I don't know what are you talking about. It is 10am over here.
No need to be modest... :) I simply didn't understand how you manage to be contribute everywhere that you do. Anyway, this might not have been the right place for giving credit...
Usually I just complain out loud. When things stay annoying long enough you have to fix them yourself...
Don't forget that everyone can't (can't != don't have time to) fix it themselves for various reasons...
That is just a delusion and laziness. Anybody can learn if...
(In reply to comment #8) > Eugene, Willian: while we wait for a rich Connector for Mantis it would be > great to see it supported by the Generic Web Connector. > Yes, for now I don't have the need for a full Mantis support, I only need query/issue navigation inside Eclipse because a third-party is using Mantis as bug tracking system. But the web connector is a very good idea for quick basic support for connectors not-yet-fully-supported by Mylar.
BTW, I made web connector to work with Mantis queries. Patches are attached to the corrspond issues.
Mik, your thoughts sound good to me. Nevertheless, I would like to wait for Victor Boctor's comments on this. Victor is the administrator of the MantisConnect project. In the meantime I continued to implement the MantisConnect connector. While trying to reuse as much components as possible from the existing MantisConnect plugin I recognized that the support for nested editors within a org.eclipse.mylar.internal.tasks.ui.editors.MylarTaskEditor is not very good. Methods like doSave(IProgressMonitor), getPages() etc. do have to respect not only FormPages but also nested editors (MantisConnect uses an editor which is of type org.eclipse.ui.forms.editor.FormEditor). If this is not supported I'll have to duplicate many code... Another problem while reusing the existing editor of the MantisConnect plugin is bug #104579. IMHO this bug is a blocker for nesting a FormEditor within another FormEditor. However, In Eclipse 3.3 M1 and 32M20060912-1730 it is possible to nest a FormEditor. But calling setActivePage() with the index of the nested FormEditor's page still produces an error (setActivePage() is currently called within org.eclipse.mylar.internal.tasks.ui.editors.MylarTaskEditor#addPages()). Many details here... Maybe both issues should be handled in their own bug reports (I allready have a workaround for the second one). As soon as I know Victor's point of view about the hosting and licensing thing I'll post it here.
Peter, please do submit seperate bugs for any modifications that you want to our common editor infrastructure, so please turn your second paragraph into a new bug report against the Mylar's Tasks component. Also, it seems that there is a key design decision for you to make at this point: do you want to subtype AbstractRepositoryTaskEditor as Bugzilla and Trac do, or do you want better support for integrating your own editor. The benefit of the former is that you get everything that the Bugzilla editor can do for free (e.g. look at TracTaskEditor as an example). The benefit of the latter is that you get more flexibility. What are your thoughts on this?
I have implemented the first cut at a Mylar Mantis Bug Tracker Repository Connector. You can find it at sf.net http://sourceforge.net/projects/mylar-mantis/. From the Summary page you can click Project -> Web site to see more complete notes and status for this connector. It is an alpha level plug-in that is mostly feature complete. It's a bit rough right now; but very workable. Any one with patches to add refinements/niceties are very welcome to submit them. Chris....
Chris: that's excellent news. Could you please add a link and short description to the following: http://wiki.eclipse.org/index.php/Mylar_Integrators I hope to take a closer look a this connector in the next few days, and will mention it during my EclipseCon talk. If you could send a screenshot or two to my email address, or just attach them to this bug, that would be helpful.
Created attachment 60118 [details] Task Screen Shot for mylar-mantis-connector
Created attachment 60119 [details] Query screen shot for mylar-mantis-connector
Mike - I've attached two screen shots. Let me know if you need more (although that is basically it). Also, the URL http://mylar-mantis.sourceforge.net/ now works and includes a section on what is implemented and what needs to be implemented. Chris....
Thanks for the screenshots Chris, I got to showcase these in my EclipseCon talk :)
Please note that the "Mylar Integrators" page has been updated and moved to: http://wiki.eclipse.org/index.php/Mylar_Extensions Chris: do you have an update site for the Mantis Connector? If so, could you please add it to the corresponding entry?
I have not put together an update site. I'll add it to the list of open items on the connector's main page though and hopefully someone will step up to put it together. Given the relatively small size of the feature, I can probably host it on sf.net along with the web page. Chris....
Chris: what is the current status of your Mantis Connector? I got reminded of the large amount of interest in this connector at Eclipse Forum Europe, so I'm wondering what your plans are. I think that there are a few key things that need to happen to get people started using tthe connector: * Hosting the sources in a public place where others can contribute to. * Hosting of a Mantis bug tracker for it so that it is bootsrapped. * Making it available via update site. Let me know your current take on it and I can try to help organize community resources around it.
(In reply to comment #28) Mike, The connector works well enough for how it is used by my organization right now. There are things we would like to improve; but as with anything it comes down to finding time to work on it. The status is pretty well laid out on the project's home page: http://mylar-mantis.sourceforge.net/ Glad to hear that there is interest in such a plugin. I'm actually amazed that a day has not gone by where someone has not download that plugin from sf.net. My immediate plans for the project are to respond to critical bug fixes and apply any patches (or provide commiter access) that I receive. I currently do not have any time to improve the connector right now. To answer your specific questions: * Hosting the sources in a public place where others can contribute to. - there all on sf.net, did you mean someplace else? * Hosting of a Mantis bug tracker for it so that it is bootsrapped. - Do you mean a "test" Mantis site * Making it available via update site. - If someone put together the required "stuff" to create an update site, I could put it on the sf.net website? - If the update site can't be hosted on sf.net, then we'll have to find a place to host it I wish I had more time to improve the connector. However, I am willing to let others improve it. Chris....
I migrated the connector to Mylar 2.0 M2. Tested the everyting with Eclipse 3.3M7, Mylar 2.0 M2 and Mantis 1.0.7 All features of the connector that work under Mylar 1 are functioning correctly as far as I can tell. Patches following ... Simon
Created attachment 66006 [details] Connector Core Patch for Mylar 2
Created attachment 66007 [details] Connector UI Patch for Mylar 2
(In reply to comment #30) > I migrated the connector to Mylar 2.0 M2. > Tested the everyting with Eclipse 3.3M7, Mylar 2.0 M2 and Mantis 1.0.7 > > All features of the connector that work under Mylar 1 are functioning correctly > as far as I can tell. > > Patches following ... > > Simon > Simon, Thanks for performing the upgrade. I will create a branch in SVN and apply your patches. Do you have a build that I could also post to sf.net for people to download? I don't have easy access to the next version of eclipse yet. Also, once I apply the patches (which I want to do so I can see what all the changes are), would you like access directly to SVN so you can make changes as required for the next versions? If you want, we can take this off of the mylar bug list, I can be reached on my gmail email which is chrishane. Chris....
I made an update site available at http://www.digital-d.at/eclipse/update that contains the Mylar 2 compatible connector. I already use the connector for my own work and does not had any problems so far. Simon
It seems like the connector somehow mishandles proxy settings, and I'm having other problems too. I'm using Eclipse 3.3M7, mantis 1.0.6 with the version of mantisconnect distributed with mylar-mantis, and I saw the following behaviour: case 1: http proxy is set in eclipse general preferences, including username and password, and <mantisserver> is added to excludes list. I create a new mylar mantis repository, enter url and password, choose to use global proxy preferences and click validate settings. At this point, eclipse makes requests to the globally configured web proxy (I see this in Wireshark). case 2: http proxy is set globally as in case 1, but when I create the repository I choose to not use the global preferences. The same behaviour as in case 1 ensues. case 3: http proxy is disabled globally, and when creating the repository, the checkbox to use global proxy preferences is left checked. When I click validate settings, the settings are correctly validated. However, when I try to create a new repository task, as soon as I select the repository and click "next", I get this error: "Connection Error: org.xml.sax.SAXParseException: Content is not allowed in prolog." For all the cases 1-3 the nusoap.php file in mantisconnect has been modified because the installed PHP has the soap extension built-in: I added "if (!extension_loaded('soap')) { ... }" around the declaration of class soapclient. If, on the other hand, I replace the entire nusoap lib with CVS HEAD, what I get is a connection validation error instructing me to check my username and password.
Ilkka Poutanen, Thanks for the feedback. Can you open an issue for this at: http://sourceforge.net/projects/mylar-mantis/ so that we can track it there. I personally do not use a proxy connection so I have not tested it. Also, are you using the v2.0 of the connector? The v1.0 will not work with the milestone builds of Eclipse 3.3. If you have any patches you would like to submit to fix this issue, it will probably get fixed quicker. Chris....
(In reply to comment #36) > Ilkka Poutanen, > Thanks for the feedback. Can you open an issue for this at: > http://sourceforge.net/projects/mylar-mantis/ Done, http://sourceforge.net/tracker/index.php?func=detail&aid=1716284&group_id=189858&atid=931013. I didn't quite know what to do with the case of the SAX parser error, because likely that's another problem altogether, but in the end I didn't do anything because I've no idea what causes it. > so that we can track it there. I personally do not use a proxy connection so I > have not tested it. Also, are you using the v2.0 of the connector? The v1.0 > will not work with the milestone builds of Eclipse 3.3. Yep, using 2.0. > If you have any patches you would like to submit to fix this issue, it will > probably get fixed quicker. If only I had the time... alas, the bills must be paid and the M.Sc. written ,)
I adjusted the connector to M3. The new version is available on the update site. Simon
Created attachment 67982 [details] Project loading error First off, thank you for creating this connector. I'm having a problem with this connector any time it attempts to retrieve project data, such as when I attempt to create a new query or repository task. I've attached the resulting stream, stack trace, and a screen shot of the errant query wizard. I'm running the latest version of both Mantis, Mantis Concect, and the Mantis Connector. Any help would be greatly appreciated.
(In reply to comment #39) > Created an attachment (id=67982) [details] > Project loading error > > First off, thank you for creating this connector. > > I'm having a problem with this connector any time it attempts to retrieve > project data, such as when I attempt to create a new query or repository task. > I've attached the resulting stream, stack trace, and a screen shot of the > errant query wizard. I'm running the latest version of both Mantis, Mantis > Concect, and the Mantis Connector. Any help would be greatly appreciated. > Jim - could you take this over the sf.net (http://mylar-mantis.sourceforge.net/) project so that we don't have to bore everyone here with the details of your issue. I'll look at it there and provide a couple of comments. Thanks, Chris....
The connector is ready for Mylyn RC1 Check out the update site http://www.digital-d.at/eclipse/update for the newest version. Simon
Excellent. Please note my message to mylyn-integrators about the change to the externalizers extension point.
A testing server has now been setup at the myln-mantis sourceforge site. This can be used to test the myln-mantis connector. The soap connector for the plugin is: http://mylyn-mantis.sourceforge.net/MantisTest/mc/mantisconnect.php The main mantis application can be found at: http://mylyn-mantis.sourceforge.net/MantisTest More information about accessing and testing with the server can be found on the Mylyn-Mantis wiki page. http://mylyn-mantis.wiki.sourceforge.net/Mantis+Testing A junit test suite is underdevelopment.
Verified that current version of connector works with Mylyn 2.1.
So, there is Mantis connector for Mylyn and it is listed at http://wiki.eclipse.org/Mylyn_Extensions#Mantis_Mylyn_Connector I suggest to mark this issue as resolved. In my understanding there are no plans to maintain this connector on Eclipse and discussion on this bug is somehow confusing to the end users.
Agreed. Refer to http://mylyn-mantis.wiki.sourceforge.net/ for the Mylyn connector. All should free to comment with any additional discussion here if needed. With 69 votes this was the 4th highest request for community support at: https://bugs.eclipse.org/bugs/ !