You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have Eclipse 2023-12 installed on both my Windows 11 laptop and the Ubuntu VM also running on my laptop. I had no trouble installing lombok on Windows. The application using it appeared to work fine. I also saw the lombok version in the "About" dialog.
On the Ubuntu VM, it first wasn't able to locate the Eclipse distribution, so I had to browse to it. It said it did it, and I saw in the "eclipse.ini" file that it added the "agent" reference. However, the "About" dialog doesn't show the lombok version, and the same application that works fine on the Windows host is getting compile errors that imply that Lombok isn't doing what it should be. For instance, a class with a "@slf4j" annotation works fine on the Windows side, but on Ubuntu, I get a compile error for the "log" references, as that variable is not defined.
Also, to be certain, I also installed Lombok as a plugin, but that had no effect. Same issue.
I looked in the Eclipse log, and I didn't see any error concerning lombok.
Oh, and a command-line mvn build of the same application succeeds, so lombok is working fine in the build, and in Eclipse on Windows, just not in Eclipse in Ubuntu.
The text was updated successfully, but these errors were encountered:
@davidmichaelkarr Thanks for the report, I'll try to help, and first want to make sure it is a problem inside lombok.
Could it be that you didn't quit Eclipse and start it from scratch in Ubuntu? A "normal" restart doesn't release the file handles, so you could be looking at a different version of the file.
Also, please make sure you modified the right eclipse.ini. Try to figure out where the executable of your eclipse is located and make sure that the ini-file is in the same directory. A common problem I've encountered is that people have multiple Eclipse installation, and modify the wrong one.
How do you launch your Eclipse? Are you using any parameters, instructing Eclipse to use a different ini-file?
I have Eclipse 2023-12 installed on both my Windows 11 laptop and the Ubuntu VM also running on my laptop. I had no trouble installing lombok on Windows. The application using it appeared to work fine. I also saw the lombok version in the "About" dialog.
On the Ubuntu VM, it first wasn't able to locate the Eclipse distribution, so I had to browse to it. It said it did it, and I saw in the "eclipse.ini" file that it added the "agent" reference. However, the "About" dialog doesn't show the lombok version, and the same application that works fine on the Windows host is getting compile errors that imply that Lombok isn't doing what it should be. For instance, a class with a "@slf4j" annotation works fine on the Windows side, but on Ubuntu, I get a compile error for the "log" references, as that variable is not defined.
Also, to be certain, I also installed Lombok as a plugin, but that had no effect. Same issue.
I looked in the Eclipse log, and I didn't see any error concerning lombok.
Oh, and a command-line mvn build of the same application succeeds, so lombok is working fine in the build, and in Eclipse on Windows, just not in Eclipse in Ubuntu.
The text was updated successfully, but these errors were encountered: