blog to recollect different kinf of data, comments, todo's, and make it easily avalaible from the web
18 febrero 2009
11 febrero 2009
Mylyn Trac Task Integration
Mylyn Trac Task Integration
Looking for purpose in life? Mylyn is purposeful. It does a lot of stuff, but one nifty bit is task integration.
Task integration is cool because it links the Eclipse IDE with an issue tracker-- in this case Trac. Meaning, you can be less random in what tasks you work on, should you choose to work on CFEclipse tasks. And more! View the Mylyn webinar at http://www.eclipse.org/mylyn/start/ for a little background-- It's long, but full of yummy goodness!
Now that you've got a little background on Mylyn, lets create a new task repository for CFEclipse's Trac site. You'll need to have the mylyn plugin installed, of course (you can cut and paste the download urls into the Eclipse Plugin Manager, or select the Mylyn plugin from Eclipse's update site, if you're using 3.3.). Be sure you select the Mylyn Trac Task Repository plugin!
Create a new Trac Task Repository, following the instructions here http://wiki.eclipse.org/Mylyn_User_Guide#Trac_Connector, using theCFEclipse's Trac site url (http://trac.cfeclipse.org/cfeclipse) as the Server URL, and your CFEclipse Trac username and password.
Create a new query by switching to the Mylyn "Planning" perspective, selecting the "Task List" and option(or right)-clicking to get to the context menu where "New > Query" appears. Select the CFEclipse task repository, and customize away! Or add a query name and click "Finish", for all tickets.
You should now see a task query list by the name you specified, which lists whatever tasks you've specified. Cool, huh?
Subclipse Change Set/Task Linking is coming soon, but probably not too soon, as I think I'm going to go add a mylyn generic task repository interface to my rudimentary project management application. =]
Configure Mylyn to connect to Trac
Configure Mylyn to connect to Trac
This page will help you to configure both your Trac account and your Mylyn plugin so that you can get the best of both worlds.
Set up your Trac account
Once you have become a committer for the Squale project, the PMCs will provide you with a user and a password to connect to the Trac server at: https://project.squale.org
Please log in as soon as possible and change your password by clicking on "My Account" on the top right part of the page.
To learn more about how Trac works, especially for the issue tracking part of it, please refer to the online documentation:
- The Trac User and Administration Guide
- or more precisely the Trac Ticket System
Configure Mylyn to connect to Trac
Eclipse Mylyn can connect to Trac to bring back into Eclipse all the issues that are stored on the Trac server, and to create new ones without having to use the web interface.
To connect Eclipse to Trac via Mylyn:
- Open the "Task repositories" view of Mylyn
- Right-click and select "Add Task Repository"
- Select Trac
- Enter the following information:
- Server: https://project.squale.org
- Label: Squale Project
- User ID: your_committer_ID
- Password: your_password
- Save Password: select this option
- Additional Settings -> Access Type: XML-RPC Plugin
- Click on "Validate Settings": if everything is fine, then click on "Finish"
- Open the "Task list" view: you should start seeing issues and you'll get notified when new are created.
Note: if you have trouble to connect to Trac, you may need to configure some proxy settings in Eclipse preferences
Once you've connected your Mylyn to Trac, you have to create queries in the "Task list" view so that you can see issues within Eclipse. To learn more about Mylyn and how to use it, please visit the following links:
Mylyn/SOC/2006/Trac Connector
Mylyn/SOC/2006/Trac Connector
The goal of this Google Summer of Code project is to provide a Trac connector plug-in for Mylyn. Trac is a web-based issue tracking system with an integrated wiki.
The Mylyn API already supports multiple issue tracking systems, therefore the existing abstraction is used to implement a Trac connector. Trac issues are accessed remotely through a query script that outputs tab-delimited text as well as through a XML-RPC interface. The XML-RPC interface has not yet been integrated into the main distribution of Trac but is available as a separate plug-in.
The project has been accomplished in two iterations. The goal of the first iteration was to make the connector work with existing Trac deployments through Trac's web interface. This retrieved ticket information is used for read-only display in Mylar. Tickets can be edited through a web-browser.
The second iteration focused on enhancing the support for Trac's XML-RPC interface. The XML-RPC interface allows full featured access to all ticket information and allows manipulation of tickets. The editing of tickets is done through Eclipse forms based editor.
The Trac connector is now maintained in the Mylyn CVS and is shipped with the regular releases.
Mylyn and trac 0.11
I am using trac now since about half a year for one of my current Java projects. One thing I missed from the start was the Mylyn integration in Eclipse - with bugzilla I was used to handle most of my issue tracking inside Eclipse. If you get used to this kind of “task oriented” working it is hard to do anything without.
Today I found a nice post about how to enable Mylyn to work with trac version 0.11. Basically you have to add the XMLRPC plugin to your trac installation and to configure the XMLRPC connection mode in the Mylyn trac connector.