Jantje - yes, I saw that reply. However, it didn't immediately make sense to me. Under the Eclipse AVR I could create a static library that was linked with my executable. In your version all the source code is compiled into a single executable. Even though some of the code might be reused in the form of a "library", it is a compile-time action, not a link-time action. Not really what I'm used to, or what I was looking for, but it serves the purpose of decoupling "libraries" from "applications".
As an aside, upload to Leonardo is not working properly for me. The plugin resets the board but never re-aquires the com port. If I manually reset the board after the first error message the upload completes properly. If you point me to the source code for the new plugin I'll be happy to look into a solution (unless you already have one).
Thanks for the great plugin!
Nothing stops you from creating a static library project in eclipse and link it with your project. This is the eclipse way of working and this was how version 1 of my plugin was working.
The drawback is that you will have to set all compile variables yourself and that you are not able to share compile settings with your main project.
The second reason is why the new plugin only has 1 eclipse project per sketch. Teensy and Arduino IDE 1.5.X need this functionality.
The problem you report on leonardo has been reported to me before. It works on my Windows system and I can not get leonardo to work on my linux system. Feel free to find and fix the problem
As to the source code. I had a problem uploading to github. neuweiler also wanted a look at the code. I have send him my latest version and he uploaded it to a github fork and then I pulled it in. In short: the latest and greatest is at github. https://github.com/jantje/arduino-eclipse-plugin