eclipse-acceleo / acceleo

8 stars 4 forks source link

[Acceleo] IDE Error during Acceleo Project Build in Eclipse 202403(Error during Acceleo project build in eclipse IDE) #153

Open IMKINGGG opened 5 months ago

IMKINGGG commented 5 months ago

We are encountering error when running Acceleo Project Build in Eclipse 202403. Acceleo Plugin: org.eclipse.acceleo.ide.ui v3.17.5 (current release) eclipse_error

Upon investigation, the issue was caused by outdated code in acceleo.ide.ui v3.7.15. Acceleo code is instantiating a no-arg constructor in org.eclipse.jdt.internal.core.JavaProject class. However, no-arg constructor no longer exist starting jdt.internal.core v3.37.0 (current release).

Before: jdt.internal.core v3.36.0

Now: jdt.internal.core v3.37.0

acceleo.ide.ui v3.17.5

Analysis: We found out that the error exist only when Acceleo project have java services template. Errors are not encountered on normal template (No query template): AcceleoJavaService_Analysis

We also logged this into Acceleo Eclipse Forum: https://www.eclipse.org/forums/index.php/m/1865214/#msg_1865214

ylussaud commented 4 months ago

Thank you for pointing this issue, we are working on a fix.

Kellindil commented 4 months ago

Hello,

This will be fixed by Acceleo 3.7.16 that will be released for eclipse 2024-06 (https://github.com/eclipse-acceleo/acceleo/commit/920e73680091b43af5b56c78afa0fa76be25fe19). You can use the first milestone at https://download.eclipse.org/acceleo/updates/milestones/3.7/S202405130857/ to avoid the issue in the meantime.

Laurent