projectlombok / lombok

Very spicy additions to the Java programming language.
https://projectlombok.org/
Other
12.91k stars 2.39k forks source link

[BUG] Ubuntu and snap #2720

Open chos82 opened 3 years ago

chos82 commented 3 years ago

Describe the bug I have tried to install the lombok plugin to Eclipse (sry, I don know the version anymore, not most recent version, one from 2019, installed as snap from Ubuntu (18.04 LTS) software-center) via the JAR installer. As far as I remember, I was not able to run the installer, even when I pointed it directly to my installation. I applied this workaround: https://www.xceno.io/posts/2019-05-15-install-lombok-to-eclipse-snap which also did not work. Well, the real problem is, that now I cannot run programs anymore that reside in /snap/bin Each of it is having a folder 'lombok' and they either do not start at all or open the lombok JAR ^^

To Reproduce I cannot give a better description as in the section above.

Expected behavior not applicable

Version info (please complete the following information):

robertmakrytski commented 3 years ago

i spent full day , you can do it next way 0)add to maven lombok 1)install eclipse 2)download lombok 3)copy to eclipse folder 4)add to file eclipse.ini next text -javaagent:lombok.jar 5)active annotation processing in select project(not the parrent) ->properties->Java compiler ->annotation processing Select Enable project specific settings Select all Enable checkbox 6)restart and it should work . test ubuntu 20.04 and eclipse 2021 year