Open bllngr opened 4 months ago
I have the same issue with the current version and I was able to identify the commit d6ee06c5 as the one which broke it.
Sorry, I completely forgot about this issue. We've since solved the issue by adding some dependencies to pom.xml
. I don't know which exactly where responsible, but on of those must have solved it:
pom.xml
:
<dependencies>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>1.18.32</version>
<scope>provided</scope>
</dependency>
</dependencies>
Added Lombok and JDT as dependencies for tycho-compiler-plugin
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-compiler-plugin</artifactId>
<version>${tycho.version}</version>
<!-- [...] -->
<dependencies>
<dependency>
<groupId>org.eclipse.jdt</groupId>
<artifactId>ecj</artifactId>
<version>3.38.0</version>
</dependency>
<dependency>
<groupId>org.eclipse.jdt</groupId>
<artifactId>org.eclipse.jdt.core</artifactId>
<version>3.38.0</version>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>1.18.32</version>
</dependency>
</dependencies>
</plugin>
Could you test it and report back here? If it works, I'll update my example.
@bllngr I can confirm, that your additions are working, but I would call this a workaround
Describe the bug Compiling a test project with Tycho 4.0.7 and Lombok (both 1.18.32 and edge) fails with an error:
To Reproduce
Expected behavior Compilation succeeds without errors.
Version info (please complete the following information):
Additional context With older Lombok versions like 1.18.30, compilation succeeds (and then fails at the materialize step, but this is a problem with the project and not Lombok)