Community
Participate
Working Groups
For some reasons, Tycho changed the output of compiler warnings. They are using the JDT compiler so it may affect all builds using the JDT compiler. This shmall change breaks the plug-in parsing compiler warnings in Hudson. Before (Tycho 0.18.1): --- [WARNING] /jobs/.../SomeClass.java:[72,0] // TODO: we may need to wrap this into a doPriv call ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TODO: we may need to wrap this into a doPriv call --- Now (Tycho 0.19.0): --- [WARNING] /jobs/.../SomeClass.java:[72] // TODO: we may need to wrap this into a doPriv call ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TODO: we may need to wrap this into a doPriv call --- The change is the report of the error location: [72,0] vs [72]
Created attachment 241917 [details] sample test project
Any updates on this? Tobias, would it be possible to Tycho to revert back to the old style warnings?
(In reply to comment #2) > Tobias, would it be possible to Tycho to revert back to the old style warnings? AFAIK this would mean rolling back to an old version of JDT. I don't think that this is an option. If you wanted, you could swap out the JDT compiler used by Tycho yourself (via POM configuration) though.
(In reply to Tobias Oberlies from comment #3) > (In reply to comment #2) > > Tobias, would it be possible to Tycho to revert back to the old style warnings? > AFAIK this would mean rolling back to an old version of JDT. I don't think > that this is an option. You are right. It likely isn't Tycho but Maven. org.codehaus.plexus.compiler.CompilerMessage.toString()