| Summary: | [connector] XPlanner | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Mark Koch <mkochco> |
| Component: | Mylyn | Assignee: | Helen Bershadskaya <hbershadskaya> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | alexander.smirnoff, AValionis, benjamin.dev, constantine.potapov, davis, donnchadh, ekuleshov, eswar.vandanapu, federico.russo, hvilshoj, infomail, leonidre, nousesknown+eclipsebugzilla, pombredanne, qualidafial, rngadam, rod.vagg, steffen.pingel, tejashshah3, webmaster, wmitsuda |
| Version: | unspecified | Keywords: | helpwanted |
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
| Attachments: | |||
|
Description
Mark Koch
Yes, there is a natural mapping there, and it's great that XPlanner provides a SOAP interface. We don't currently have the resources to support more than Bugzilla and JIRA, so I've marked this report helpwanted. But please vote for it as suggested by my addition to the bottom of: http://www.eclipse.org/mylar/start.php Is there are a public install (even read only) of XPlanner? BTW, it is kind of funny that XPlanner project is using Jira as its issue tracking system... Where can we find information how to develop custom Mylar connector in order to help to develop the XPlanner connector? I built on top of the example I found at http://jlebleu.free.fr/youpla/index.php?2006/12/11/7-xplanner-et-mylar, using a different Query URL and Pattern (see blog entry #3) to be able to populate my Mylar task list with all of my XPlanner tasks. (Apologies, if this isn't what you're looking for.) (In reply to comment #3) > Where can we find information how to develop custom Mylar connector in order to > help to develop the XPlanner connector? Usual starting point is http://wiki.eclipse.org/index.php/Mylar_Integrator_Reference#Creating_Connectors (In reply to comment #4) > I built on top of the example I found at > http://jlebleu.free.fr/youpla/index.php?2006/12/11/7-xplanner-et-mylar, using a > different Query URL and Pattern (see blog entry #3) to be able to populate my > Mylar task list with all of my XPlanner tasks. (Apologies, if this isn't what > you're looking for.) Nice one. Is there any public xplanner instance we can use? Then we could include such template with web connector by default. BTW, there is a declined presentation for EclipseCon by Ravi Kumar and Karl Ewald (guys from Borland CodeGear, I suppose) about integrating Mylar and XPlanner. http://eclipsezilla.eclipsecon.org/show_bug.cgi?id=3897 JBuilder 2007 adds Mylar support for XPlanner via the SOAP interface. Mik Kersten is aware of this. See http://dn.codegear.com/article/33880 which includes more information about this feature and others which are part of JBuilder 2007. (In reply to comment #7) > JBuilder 2007 adds Mylar support for XPlanner via the SOAP interface. Mik > Kersten is aware of this. > See http://dn.codegear.com/article/33880 which includes more information about > this feature and others which are part of JBuilder 2007. Nice. It seems like JBuilder packages whole bunch of open source tools. Bill, are you cooperating with the developers of those tools? Perhaps contribute some stuff back to the open source community, for instance the XPlanner plugin for Mylar. :-) The Mylar-Xplanner connector is one of several technology bits we built for JBuilder 2007 that I would presonally like to see us (CodeGear) contribute back to the community. Since CodeGear is less than 2 months old we have a lot of stuff to sort out (like payroll), but we'll get on top of this ASAP. I have started to develop of the Mylar integration with the XPlanner. (In reply to comment #10) > I have started to develop of the Mylar integration with the XPlanner. Why don't you collaborate with CodeGear folks? We're updating our PI for Mylar 1.0, I hope to be able to contribute it to Mylar once that us complete -- it's just pending internal legal review. That's great to hear Joe. Please note that before we can consider adding a new connector to the Eclipse Mylar distribution we would need to ensure that there would be sufficient resources available to maintain and evolve this connector, since every connector that we make part of the distribution needs to have a component owner. But given that XPlanner is open source, and the large amount of interest in this connector, we can discuss whether it is best hosted as a part of the Mylar project. (In reply to comment #11) (In reply to comment #11) > (In reply to comment #10) > > I have started to develop of the Mylar integration with the XPlanner. > > Why don't you collaborate with CodeGear folks? > The CodeGear code is their private code, that's all (In reply to comment #14) > > Why don't you collaborate with CodeGear folks? > The CodeGear code is their private code, that's all It is now, but they are planning to open it any time soon. (In reply to comment #12) > We're updating our PI for Mylar 1.0, I hope to be able to contribute it to > Mylar once that us complete -- it's just pending internal legal review. > I have seen a JBuilder realization of a Mylar connector to the XPlanner,it seems good, when we can see an open source version of it ? I have a intention to make a contribution to the Mylar, but not to do the same work twice. Could we cooperate in this task ? (In reply to comment #16) > I have seen a JBuilder realization of a Mylar connector to the XPlanner,it seems > good, when we can see an open source version of it ? I have a intention to make > a contribution to the Mylar, but not to do the same work twice. Could we > cooperate in this task ? Sorry for the slow reply on this Constantine. At EclipseCon JBuilder announced that they were contributing the code to Mylar: http://blogs.codegear.com/ravi/archive/2007/03/07/32778.aspx The good news now is that the Eclipse IP review process of the code has started. I'll update this bug when we that's done and we can proceed with the initial contribution (1-5 weeks, hard to say since it depends on their backlog). After that patches and other collaborations on this connector will be very welcome. awesome ++ There has been progress on the IP review, but still waiting... Created attachment 68621 [details]
XPlanner mylar connector implementation
This source will not compile as is, since it refers to Mylar API that is over a month old.
I have committed the initial contribution into sandbox (for now, while we let it mature). Note that I renamed org.eclipse.mylar.xplanner_feature to ..xplanner-feature to match our convention. However, perhaps it's our convention that should be changed since we _feature matches the feature's ID. Helen: the next thing to do is to provide a patch that updates this code to the latest so that we get it to build and get updated with our upcoming refactorings. Helen, please note that we have a naming convention now (bug 149940) for classes that provide an abstraction for repository access. We renamed classes in the JIRA connector from JiraServer* to JiraClient* to make naming consistent across plug-ins. You might want to consider doing the same for XPlanner. Just wondering whether this will get into the 2.0 version to be released soon. It does seem that the connector does not work with eclipse 3.3, yet!? Jörg, Markus: the idea is that the connector will work on the Mylar 2.0 APIs, so it will support both Eclipse 3.2 and 3.3 once it is ready. Helen: at this point I strongly suggest not porting to the new Mylar APIs until next Monday, when we plan to be done with the 2.0RC0 API changes. Helen: I have created a Bugzilla component for XPlanner and made you the default assignee. Created attachment 72505 [details]
patch for latest api and Mylar to Mylyn changes
This patch contains changes to allow the XPlanner connector to work with the latest Mylyn source, and conversions from Mylar to Mylyn sources.
However, there are library files that this project needs that the patch cannot include -- not sure how to add these -- should I add these as separate attachments, or just wait untile they are available in the base Mylyn?
Could not attach context for the patch -- bug 194468 (Unexpected error when creating attachment) Created attachment 72506 [details]
mylyn/context/zip
Attempting to attach context for patch patch-v20070623-1130.txt
Created attachment 72508 [details]
patch for latest api and Mylar to Mylyn changes
This patch contains changes to allow the XPlanner connector to work with the latest Mylyn source, and conversions from Mylar to Mylyn sources.
However, there are library files that this project needs that the patch cannot include -- not sure how to add these -- should I add these as separate attachments, or just wait untile they are available in the base Mylyn?
It looks like the last attempt to add context worked, but it submitted the patch twice... Helen: I ran out of time for this with the Europa release, but will plan to integrate next Tuesday. I'll take care of the dependcencies. Patch (finally) applied and libraries updated. Now that we are past this and the Europa/2.0 hump I hope that we can iterate on this much more quickly. Helen: what's next? Hello, after checking out into my final 3.3 workspace I get an error in org.xplanner.soap.XPlanner.XPlannerHttpSender. It seems that the plugin needs to include the commons-httpclient library as the class can not find the following imports: import org.apache.commons.httpclient.HostConfiguration; import org.apache.commons.httpclient.HttpClient; Maybe I am doing something wrong!? Any help appreciated, Markus Hi Markus. It seems like you somehow didn't pull the libraries associated with the org.eclipse.mylyn.web.core plugin -- it already includes commons-httpclient-3.0.1.jar. Can you make sure you have a Referenced Libraries node with a bunch of library jars in your project? Thanks -Helen Mik, thank you so much for checking this in -- I know you are probably under a few swamps of work at the moment. (And BTW, thank you for the great, as usual, webinar presentation this morning -- through phone noise, music, and coughing) I have various thoughts about missing and nice to have features, which I will probably enter as their own feature enhancement items under the XPlanner category. My main guiding principle would be, I think, to follow what people that actually try to use the connector think is the most valuable (or work unblocking) feature to add. Let me know if there is anything you consider important to add right away, so I can prioritize that too. Thanks again -Helen Hi again, Markus. I apologize for my too quick reply. It looks to me like what you are running into (and what we just ran into -- that's why I can have a better explanation :-)) org.eclipse.mylyn.web.core plugin is delivered packed -- it is defined to be delivered as "unpack=false" in the org.eclipse.mylyn feature, same as the rest of the plugins in Mylyn. Mik, please correct me if I am wrong, but this kind of delivery appears to cause a problem when trying to access a class inside a jar that's part of the plugin jar, as is the case with accessing the commons-httpclient-3.0.1.jar, which is part of the libraries in the org.eclipse.mylyn.web.core plugin jar. I am sure there are other ways to deal with this, but there are two solutions I can think of: 1. (personal build solution) When building any Mylyn plugins that depend on the org.eclipse.mylyn.web.core plugin, make sure to also pull that plugin into your workspace, so the libraries are available 2. (Mylyn feature changing solution) Change the org.eclipse.mylyn feature to deliver the org.eclipse.mylyn.web.core plugin as "unpack=true", so that users can build sandbox features against an actual Mylyn build, and not just the source. Thanks -Helen Helen, Markus: the fact that you can't build against JARs within JARs in this way is a PDE limitation (bug 157375, please consider voting for it). The way we usually work around it is to check the projects out into our workspace rather than building against installed versions, as per Helen's point (1). Let me know if you have trouble getting this going. Note that this is not a problem for deployment which is why the plug-in can use the recommended "unpack=false" setting plug-in, which is why it is best to avoid point (2) above. Hello Helen and Mik, adding org.eclipse.mylyn.web.core to my workspace fixed my issue, but using the plugin did not work as the build.properties file did not include the folder lib-axis. After adding this and rebuilding the plugins everthing worked fine. I also have a question using the plugin: After I added my XPlanner repository and a Query for my tasks I started working on one of them by activating it. After work is done on a task, how do I "commit" the work done back to the XPlanner repository? P.s.: I also would suggest to change the classes rg.eclipse.mylyn.xplanner.core.XPlannerCorePlugin, org.eclipse.mylyn.xplanner.ui.XPlannerTaskDataHandler to use a direct reference to the static members of IStatus (i.e. IStatus.ERROR instead of Status.ERROR). Regards, Markus Hi Markus. I might be missing some configuration details here, but what is the problem you see when you try to build xplanner.core without adding lib-axis to the build.properties file? I was able to build it in my IDE, and export it as well. To commit your changes to an XPlanner (or any connector repository I believe), you need to press the "submit" button at the bottom of the Mylyn editor for the task. As for the code changes you requested, I submitted a separate for that with your suggestion (thanks): <a href="show_bug.cgi?id=196398">bug 196398</a> Sorry for error in text -- link is here: bug 196398 Hello Hellen, I had no problem building the feature, but as I tried to use it I got the error: An internal error occurred during: "Synchronizying queries for IOn AG XPlanner". org/apache/axis/EngineConfiguration Validating the repository failed with a similar error. After including the libs and building it again the error did not occur anymore and the repository could be validated, too. My other problem is submitting the changes to XPlanner, I guess. I used a networkanalyzing tool to locate the problem. It seems that I get a HTTP Status 401 from apache. I attached the output of the networkanalyzing tool. Maybe it helps You locating the problem, or maybe You can tell me what I am doing wrong. Regards, Markus Created attachment 73739 [details]
Networkdump with soap and apache content when submitting a xplanner task
I could not find a CVS or SVN repository with the code, do I have to get the code posted in this bug, or is it checked into a public repository somewhere? Hi Tilman. The code is checked into Mylyn's sandbox -- it's under the sandbox folder in the org.eclipse.tools/mylyn. I have added the missing lib-axis entry to build.properties a preview build of this connector will be available within 1/2 hour from the dev/extras site. Build version is 2.0.0.v20070713-1300 http://www.eclipse.org/mylyn/downloads/builds.php Helen: please verify that this build works for you or report any problems. If all is good I would like to aim to have this out as an "(Experimental)" feature on the dev/extras site by 6pm Pacific. Hi Markus. Just to get more detail on the problems you are seeing -- is it correct to assume you have no problems making changes in XPlanner when using a browser(either outside eclipse, or when selecting the "browser" page for the task in Mylyn)? Thanks -Helen Mik, thanks for making the updates to build.properties and extras update site. I tried the XPlanner connector 2.0.0.v20070713-1300, and it seems to work for me. So I think it is ready to be "experimentally" delivered :-) -Helen It would be useful to add something about XPlanner connector to the wiki and explain supported features. I guess the most interesting one is the automatic time tracking integrated with Mylyn's task activation. Few more comments: - it doesn't seem like "All my current tasks" option is working. I had to select project and "my tasks" to get all my tasks - it is not exactly obvious from the UI that selecting "group by user stories" will create multiple queries - task editor don't allow to edit all task attributes - no editor for the user stories and new task creation Hi, I tried the plug-in, and it is showing the tasks. As some one already specified, all my tasks is not working. We store lot of information in the story description that is helpful in doing the task. However, information related to the story doesn't appear anywhere. Is it possible to provide atleast a link, or the description of the story itself as well when opening the task. Hi Helen, I have no problems making changes in XPlanner when using a browser (IE or Firefox). Just the "Submit" button of the XPlanner connector does not seem to work properly. Regards, Markus Hi Eugene. Thanks a lot for your comments. I have created separate bugs where it made sense, so this bug wouldn't get overloaded with multiple issues -- I did not add you to the CC for the bugs, because I am not sure you want the noise, but can do so if you want me to: >> It would be useful to add something about XPlanner connector to the wiki and explain supported features. * now bug 196693 (for my own tracking) >> automatic time tracking integrated with Mylyn's task activation. * now bug 196695 -- this feature is not supported in the current XPlanner connector, since we didn't use it that way, but we realized that eventually we would need to do this >> doesn't seem like "All my current tasks" option is working. I had to select project and "my tasks" to get all my tasks * now bug 196696 -- see comments there (this query option is equivalent to "me" in XPlanner browser) >> it is not exactly obvious from the UI that selecting "group by user stories" will create multiple queries * now bug 196698 >> task editor don't allow to edit all task attributes * now bug 196699 >> no editor for the user stories There is actually a read-only editor for user stories, however it has now become harder to get to -- you can open a user story by entering its ID in the "open repository task" editor, which is now available from the task list view, as opposed to the main "Navigate" menu. If you think more than just this read-only editor is necessary, please add a bug for it. >> and new task creation * now bug 196700 Hi Eswar. >> I tried the plug-in, and it is showing the tasks. As some one already specified, all my tasks is not working. * This issue is now tracked in bug 196696 >> Is it possible to provide atleast a link, or the description of the story itself as well when opening the task. * See Comment #52 for this bug for User Story editor info. I also added Bug 196701, and added you to the CC Hi Markus. I have created a new bug 196706 to track your submit button not working issue, and added you to the CC list -- conversation continued there... Hi, tried to use the connector for our internal XPlanner installation, but ran into some (probably firewall-related issues). If I set the server name to its symbolic value (works fine in IE / FF, but requires settings to bypass the proxy used for external communication), I immediately get a '(504)Gateway Time-out' error. If I set it to its IP address, e.g. http://120.20.1.61/xplanner, it at least takes a while before I get an error that says: 'The supplied credentials are invalid: Read timed out'. This behaviour does not change regardless to whether I check "Use global Network Connection preferences" or not (without filling in proxy address & port, as I'd like to bypass the proxy..) What exactly are the settings used for the proxy server? In http://dingfelder.wordpress.com/2007/05/25/what-is-going-on-here/ you find similar behavior being documented for JBuilder... Hartmut: please see bug 196909 for the current htauth and if that's not related, please file a new bug for your file a new bug for the proxy problem. Hello, where are the sources for the XPlanner connector (CVS URL)? I need to recompile because the download site contains a binary for Java 6, but I need a binary for Java 5 (I'm working on a Mac which does not have Java 6, yet). Cheers, Matthias Hi Matthias. The sources for XPlanner are currently in the sandbox area under Mylyn. However, I think your problem should be solved in today's build -- it was rebuilt using jdk 5 -- see bug 198646. Thanks -Helen Matthias, the most recent build of Mylyn (2.0.0.v20070802-1800) is available via the dev update sites. Mylyn: http://download.eclipse.org/tools/mylyn/update/dev/e3.3 Extras: http://download.eclipse.org/tools/mylyn/update/dev/extras Helen: please note that I did some clean-0up on the XPlanner code in order to get rid of the 40 or so warnings. Please review the changes when you synch up, all should be straightforward. Note that for some of the src-gen classes I added the following to the top of the classes in order to prevent the warnings: @SuppressWarnings({ "unchecked", "serial", "unused", "null" }). If you generate again you may want to specify this.
This connector has been available for some time, with the latest builds available on the Dev Build Site: http://www.eclipse.org/mylyn/downloads/builds.php This bug has been one of the top-voted enhancement requests on bugs.eclipse.org, and I would like to encourage all who voted to try out the connector, and to file new bugs with any problems or enhancement requests that they encounter under the Mylyn/XPlanner component. Congratulations to Helen and the other CodeGear contributors for getting the connector ready for use. Fixing assignment... Resolved. Let's try that again, and sorry for the spam. Resolved. (In reply to comment #61) > This connector has been available for some time, with the latest builds > available on the Dev Build Site: > http://www.eclipse.org/mylyn/downloads/builds.php > > This bug has been one of the top-voted enhancement requests on > bugs.eclipse.org, and I would like to encourage all who voted to try out the > connector, and to file new bugs with any problems or enhancement requests that > they encounter under the Mylyn/XPlanner component. Congratulations to Helen > and the other CodeGear contributors for getting the connector ready for use. > Has the XPlanner Connector been moved to somewhere else? I get a 404 with this url http://www.eclipse.org/mylyn/downloads/builds.php. The build server was pinned due to a mirroring problem. Please try again. The XPlanner connector is available form the incubator update site: http://download.eclipse.org/tools/mylyn/update/incubator/ |