Open AZWN opened 1 year ago
The underlying issue was fixed in d825c2f460db43e9f5d5235aeb941a092aa21e1e, so the reproduction scenario does not work in later versions anymore. However, reporting these (and similar) errors in the editor would still be a good idea.
Summary
When compiling a language project, several annotation processor (such as dagger) are executed. However, (error) messages from annotation processors are not reported in the editor.
What you did
java-front
project on this branch.java8.spoofax3
project in Eclipse.What actually happened
Now, several errors appear that
mb.java8.DaggerJava8Component
andmb.java8.DaggerJava8EclipseComponent
cannot be resolved. Indeed, these files do not exist in their proper location (build/generated/sources/annotationProcessor/java/main
). However, there was no information telling me why these files were not generated.What you expected to happen
To investigate further, I reproduced the invocation of the compiler on the command-line, which gave the following errors:
This was the information that I would have liked to see in the editor
Context
Additional information
The manual
javac
command can be found injava8.spoofax3/run-javac.sh
. The classpath and processorpath (which unfortunately use absolute paths) are obtained from setting a breakpoint here, and inspecting theoptions
object.