Hello,
I want to introduce project-lombok in our project but can not do so before I make sure that it works with Eclipse since it is used by majority of our developers.
I tried using preprocessor with "plain" Maven and maven project in IntelliJ Idea by adding it to Maven dependencies and it worked as promised (thanks to javac recognizing META-INF in class path?).
However I could not made it work with Eclipse.
Configurations tried:
* Plain Eclipse with preprocessor enabled in project properties
* Eclipse after running lombok installer with lombok in dependencies
* Eclipse with Maven project with lombok in classpath, and plain project with lombok.jar in classpath (did not expext this to work however, since javac is not used anyway)
None of these worked. My environment is OpenJDK 7, Eclipse Kepler, Linux, tried 0.12.0 and 0.9.3 (latter produces errors former just does nothing under Eclipse).
I can not figure what I did wrong or maybe this configuration has not been tried yet.
Besides this the question I am curious most is why does project-lombok needs an installer and adding it's preprocessor to _Eclipse's_ launcher while I need preprocessing my _project's_ classes. I see that this is some hack to make it work with Eclipse but why is it necessary while Eclipse's project settings have options for preprocessor and it seems that preprocessors are supported "out of box". Can I just enable preprocessing in project settings (and maybe adding lombok.jar to preprocessors list)? If so, what's needed to make it work?
And while I am at it, what is the last stable version of lombok? (I have seen 0.9.3 somewhere but it does not seem to be stable)