Using Sourceforge with Mylyn

From Eclipsepedia

Revision as of 10:41, 29 July 2013 by Dave.brondsema.net (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


The Generic Web Repository Connector of Mylyn can be used to integrate Sourceforge trackers as task repositories inside Eclipse. This page describes the necessary configuration to be able to connect to multiple Sourceforge projects and to browse all their tracker items (including project member only trackers). Required settings are also available from the pre-packaged templates that can be selected in the web connector repository configuration.

Preconditions

You need:

  • Eclipse 3.3 Europa (choose one of the downloads from the main page),
  • Latest Mylyn version. See project download page
  • The Generic Web Templates Connector from the "extras" update site. This was formerly known as the Generic Web Repository Connector.
  • with Eclipse 3.4 or newer you need to add this updatesite to eclipse, to get the connector.
  • The latest version of mylyn. Older versions are not guaranteed to work with the latest Generic Web Templates Connector.

Repository

Create a new task repository (inside the view "task repositories"), choose "Generic web-based access" and use these configuration items:

  • Server: http://sourceforge.net/
  • Label: Sourceforge
  • Anonymous Access: (off)
  • User ID: your Sourceforge username
  • Password: your Sourceforge password
  • serverUrl: https://sourceforge.net

Open Additional Settings and then Advanced Configuration sections:

  • Login Request URL: ${serverUrl}/account/login.php?form_loginname=${userId}&form_pw=${password}&login=Login
  • Button after "Login Request URL": switch to "POST"

Note: If you want to integrate Mylyn with multiple Sourceforge projects, you do not need multiple repositories. Instead you can create multiple queries in the task list with corresponding configuration parameters.

Queries

Now that the repository is known in Mylyn you can create queries to show bugs, feature requests and other tracker items inside Eclipse.

Follow the instructions at http://officefloor.wordpress.com/2012/12/10/allura-sourceforge-mylyn-connector/ to set up the Web Template Connector.