Message Boards

Best way or the correct way for lombok library configuration in liferay 7?

Alex Cervantes, modified 4 Years ago.

Best way or the correct way for lombok library configuration in liferay 7?

New Member Posts: 6 Join Date: 10/11/19 Recent Posts
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.
thumbnail
Christoph Rabel, modified 4 Years ago.

RE: Best way or the correct way for lombok library configuration in liferay

Liferay Legend Posts: 1554 Join Date: 9/24/09 Recent Posts
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.
Alex Cervantes, modified 4 Years ago.

RE: Best way or the correct way for lombok library configuration in liferay

New Member Posts: 6 Join Date: 10/11/19 Recent Posts
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.