Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Any guidance?
Any guidance? [message #1864884] Thu, 18 April 2024 08:52 Go to next message
rachel lewis is currently offline rachel lewisFriend
Messages: 1
Registered: February 2024
Junior Member
Hi, I've encountered a strange issue with APT in Eclipse. When I modify a source file (A.java) with an annotation, it triggers an annotation processor to regenerate another file (B.java) as expected. However, the binary class (B.class) isn't recompiled, remaining unchanged even if I inspect it with a decompiler. Manual modifications to B.java or performing a clean operation lead to correct compilation. I've been using m2e-apt, which I thought only adjusted Compiler/APT settings, and observed this issue on Eclipse versions 4.6.0 and 4.7.0 without testing on a non-Maven APT project. Shouldn't this process work seamlessly? Could my projects have a unique bug? Any guidance or code pointers for debugging would be greatly appreciated. Thanks
Re: Any guidance? [message #1864889 is a reply to message #1864884] Thu, 18 April 2024 16:38 Go to previous message
Erik BrangsFriend
Messages: 55
Registered: February 2010
Member
If you're really using Eclipse 4.6.0 (Neon) or 4.7.0 (Oxygen), the versions you're using are very old. You're unlikely to get help for those.

Can you try this in a newer Eclipse (e.g. 2024-03) with m2e? You won't need to install m2e-apt in that version because it's now part of m2e.
Previous Topic:Label Indentation / Spaces before Comment Tag
Next Topic:keep show settings classpath containers 36%
Goto Forum:
  


Current Time: Mon Jan 13 16:10:11 GMT 2025

Powered by FUDForum. Page generated in 0.03106 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top