Hi Brian,
actually, never mind :-) I have it working.
I followed the https://projectlombok.org/setup/eclipse page, and after
having added the lombok plugin, it's all finer!
To answer your question, no we don't use lombok. It's useless, and
creates issues just to save a few typing that you don't even have tyo do
if you use the IDE create code feature.
On 13/03/2025 15:17, Brian Demers wrote:
My guess is you need to enable annotation processors.
I haven't used Eclipse in a while, so not sure if these instructions are
correct:
https://stackoverflow.com/questions/43404891/how-to-configure-java-annotation-processors-in-eclipse
IntelliJ requires something similar.
Related: https://github.com/apache/directory-scimple/issues/540
I didn't add a lot of detail in that issue, but my frustrations with Lombok
are based on this type of problem (well, that and it's difficult to debug
code generated at compile time by an annotation processor). Maybe it
should be updated to simply "Remove Lombok" 🙂
Maybe a note should be added to the readme about IDE support until the
above issue is resolved 🤔
I also think IDEs could do a better job of enabling annotation processors
if configured by build tools, but that's a different problem.
TL;DR (opinion) lombok is great for code in blog posts, it's painful in
real projects.
On a slightly more serious note, are any of the other Directory projects
using Lombok? Or does anyone have strong opinions for or against?
-Brian
On Thu, Mar 13, 2025 at 10:01 AM Emmanuel Lécharny <elecha...@gmail.com>
wrote:
Hi Brian,
I have a bit of day job's time to investigate SCIM, and obvioulsy,
SCIMple is going to be my choice.
A few question: yesterday, I have had hard time buildling the project (I
have updated the readme to reflect the build process, because mvn
package is not doing the job when you haven't build the project at least
once). Anyway, tests are passing green, all is good. But... I loaded it
in Eclipse, and I get a bunch of errors, like some methods that are not
present:
log cannot be resolved RepositoryRegistry.java
/scim-core-1.0.0-SNAPSHOT/src/main/java/org/apache/directory/scim/core/repository
line 64 Java Problem
AFAICT, the Lombok @SLF4J is suppose to magically create this log field.
Do you have a quick guide on how to get it working with Eclipse?
Thanks!
--
------------------------
Emmanuel Lécharny
emm...@worteks.com
elecha...@apache.org
------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@directory.apache.org
For additional commands, e-mail: dev-h...@directory.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@directory.apache.org
For additional commands, e-mail: dev-h...@directory.apache.org