Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: Best way or the correct way for lombok library configuration in liferay
Hi everyone, sorry for mi english, is not the best. I have a problem trying to configure lombok library in liferay developer studio 7, im using the comunity version as a local environment, i dont know if this version means a problem for this or not, i understand that the lombok library installs in every development IDE by executing the lombok jar and after that a lombok window installer is shown, once in ti, we can apreciate all the available IDE's detected for the installation but in this case, the installer cant find the liferay IDE.
Do you know any other way for this configuration, specially for liferay or what is the correct way to do this for the tool?
Thank you very much for your time and help.Regards.
Do you know any other way for this configuration, specially for liferay or what is the correct way to do this for the tool?
Thank you very much for your time and help.Regards.
I can only answer this from memory, but as far as I remember:
The lombok installer just adds the lombok.jar to the eclipse.ini. Since it doesn't recognize Developer Studio, you need to do that manually. Maybe install Eclipse, install Lombok there and then copy the lombok line to DeveloperStudio.ini.
You probably want to copy/move the lombok.jar file too into the Developer Studio folder and update the path in the ini file.
The lombok installer just adds the lombok.jar to the eclipse.ini. Since it doesn't recognize Developer Studio, you need to do that manually. Maybe install Eclipse, install Lombok there and then copy the lombok line to DeveloperStudio.ini.
You probably want to copy/move the lombok.jar file too into the Developer Studio folder and update the path in the ini file.
Hi Christpoh, thank you very much for the help, as you said i did the lombok configuration manually in te DeveloperStudio.ini, i just copy the line from the eclipse.ini once installed lombok in there to the DeveloperStudio.ini file, obviusly changing the eclipse path for the liferay developer studio location path in the line and copy the same lombok jar added after the installation in the lifaray developer studio path and it works fine.
Thank you very much again Christoph, you saved me =) i have no more lombok annotations errors =)Best regards friend.
Thank you very much again Christoph, you saved me =) i have no more lombok annotations errors =)Best regards friend.
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™