Aptana and Lighthouse for easy ticket tracking
I've been a fan of Aptana for quite awhile, through all of it's ups and down as it's development I've generally still managed to prefer it over other more common 'bare-bones' editors like TextMate. Admittedly, a lot of this has to do with Aptana's ease of install and support for Subclipse.
Public/stable builds of Aptana have been running on Eclipse 3.2 for what seems like forever, and one feature that I've always had want for, is bugtracking integration. Mylyn is a great Eclipse plugin that does just that, well, sort of. The versions of Mylyn that run on Eclipse 3.2 haven't seen an update in ages, and support little more than Mantis, Jira and Trak. When I had a decent number of projects that were using Trak or Mantis, I was in heaven; NOM's migration to relying on 3rd party SaaS tools has made administration of our ticketing software and repositories a snap, but I haven't had any way to integrate our preferred ticketing software (Lighthouse) into my personal workflow until now.
Since last november (at least) Lighthouse has now been able to be integrated with Eclipse with the Mylyn's Web Templates connector. The only catch... it's still requires at least Eclipse 3.3+. Fortunately, the next version of Aptana, currently called Apana Andretti Alpha is built on Eclipse 3.4, and though it seems to have some memory consumption issues (it is an alpha remember!), I was able to find a copy of it here and get everything sorted and working together nicely. And let me just say, my life has became a little bit easier.
Simen Brekekn was generous enough to post about his setup over on Lighthouse's support site here. Below is his info, with some added/updated information.
- Make sure you're running Eclipse 3.4 or above (or grab a copy of
Aptana's Andretti Alpha #3 here http://www.aptana.com/node/577Aptana 1.5 here)\ - In Eclipse/Aptana install Mylyn from the Mylyn update site
http://download.eclipse.org/tools/mylyn/update/e3.4 (Eclipse 3.4, 3.5, Galileo Packages)
http://download.eclipse.org/tools/mylyn/update/e3.4 (Eclipse 3.3) - In Eclipse/Aptana install the "Mylyn Connector: Web Templates" form the Mylyn incubation update site ( http://download.eclipse.org/tools/mylyn/update/incubator )
Then add a new Task Repository and enter the following information:
- Enter the full url of your project, ie.
http://foo.lighthouseapp.com/projects/123 - Give the task repository a Label
- Enter your authentication info (if it's a private project)
Then add the following settings under "Advanced Configuration":
- Task URL:
${serverUrl}/tickets/ - New Task URL:
${serverUrl}/tickets/new - Query Request URL:
${serverUrl}/tickets.xml?q=${query} - Query Pattern (make sure you enter it in one line):
-
<ticket>.*?<assigned -user-id type="integer">({Owner}.+?)</assigned>.*?<number type="integer">({Id}.+?)</number>.*?<state>({Status}.+?)</state>.*?<title>({Description}.+?)</title></ticket>
Next enable HTTP Authentication, enter your login (again), click Finish and you're all set!

