Local Mylyn tasks distributed via git

I learned from Steffen Pingel and Ekkehard Gentz that Mylyn has the ability to save local tasks outside the workspace. This is hidden under advanced in the Preferences.

This allows you to put your local tasks outside your workspace and versionize them with git. This way you can use git to move your local tasks between machines. I really like this as I frequently use different machines and now I can not only share source code betwee them but also my mylyn taslks.

As Steffen told me, simultanous access to the Mylyn tasks might cause task corruption but I don’t think that is an issue for me as Git takes care of conflicts and I do not have two machines writing to the same local file.

Fun times with Git and Mylyn!

About Lars Vogel

Lars Vogel is the founder and CEO of the vogella GmbH and works as Eclipse and Android consultant, trainer and book author. He is a regular speaker at international conferences, He is the primary author of vogella.com. With more than one million visitors per month this website is one of the central sources for Java, Eclipse and Android programming information.
This entry was posted in Eclipse and tagged , . Bookmark the permalink.

6 Responses to Local Mylyn tasks distributed via git

  1. Leho Kraav says:

    is tasktop able to reload its task list on the fly or do you need to close everything before versioning operations?

  2. Lars Vogel says:

    @Leho Mylyn should be able to switch dynamic the task location.

  3. Leho Kraav says:

    @Lars not what i meant. the question is for the scenario where you pull external updates to the task list while Tasktop is open. can Tasktop handle changes to it’s data files that it did not do itself? hopefully i am not sounding too confusing, perhaps skype:lkraav?chat me 🙂

  4. Lars Vogel says:

    @Leho I guess trying out your scenario would give you clarity. 😉

  5. Leho Kraav says:

    @Lars well yeah 🙂 but i’m also interested in knowing your workflow which not really explicitly described in the blog post. so it is to be assumed that you always close your Tasktop, do task versioning operations, re-open Tasktop?

  6. Lars Vogel says:

    @Leho I sync between different machines, e.g. I push and pull my tasks before starting Eclipse on the new machine.

Comments are closed.