Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Eclipse 2023-03 regress - lombok.config not found #3386

Closed
RedeemerSK opened this issue Mar 27, 2023 · 2 comments
Closed

[BUG] Eclipse 2023-03 regress - lombok.config not found #3386

RedeemerSK opened this issue Mar 27, 2023 · 2 comments

Comments

@RedeemerSK
Copy link

RedeemerSK commented Mar 27, 2023

Describe the bug
After updating Eclipse IDE for JEE developers to 2023-03 I noticed that lombok started to generate bytecode without considering my custom configuration in lombok.config file.

To Reproduce
Install Eclipse IDE version 2023-03, any version for Java development. Install lombok into this Eclipse installation. Extract eclipse_2023-03_lombok_config_test.zip. Import project as Maven project from extracted directory. See compilation errors caused by setters generated by lombok not having expected names (as configured in lombok.properties file).

Expected behavior
Lombok should consider custom configuration in lombok.config file.

Version info (please complete the following information):

  • Lombok version: 1.18.26
  • Platform: Eclipse IDE for Enterprise Java and Web Developers (includes Incubating components), Version: 2023-03 (4.27.0), Build id: 20230309-1520 (fresh install) ... running on Eclipse Adoptium jdk-17.0.3.7-hotspot on Win 10.

Additional context
Very quick debugging I did showed different behavior at lombok.eclipse.EclipseAST@111 when running Eclipse 2022-12 vs. 2023-03: in latest Eclipse, it takes the 'skipEclipseWorkspaceBasedFileResolver' (field value is true) code path, thus resolves path of compilation unit to "C:\{path_within_eclipse_workspace}" (placeholders used, not literal value) which is IMHO invalid and causing lombok.config file to not be found in Eclipse project.

@janrieke
Copy link
Contributor

Duplicate of #3332

@RedeemerSK
Copy link
Author

Duplicate of #3332

Sorry, my bad. I searched only open issues for duplicates.

@Rawi01 Rawi01 closed this as completed Mar 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants