You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After modifying the source file, the corresponding automatically generated class is not updated.
Version
4.0.0-milestone4
Context
while I used vertx to automatically generate classes such as VertxProxyHandler and VertxEBProxy, I encountered a problem, that is:
when I modify a certain service source code file, the IDE will automatically recompile it, but the corresponding VertxProxyHandler and VertxEBProxy classes have not been recompile.
After debugging, I found that it was caused by this line of code in the process method of the CodeGenProcessor class in the vertx-codgen class library.
As long as classes such as VertxProxyHandler are automatically generated once, unless the entire project is recompiled as a whole or the generated class is deleted, it will not be automatically generated in the future.
Questions
After modifying the source file, the corresponding automatically generated class is not updated.
Version
4.0.0-milestone4
Context
while I used vertx to automatically generate classes such as VertxProxyHandler and VertxEBProxy, I encountered a problem, that is:
when I modify a certain service source code file, the IDE will automatically recompile it, but the corresponding VertxProxyHandler and VertxEBProxy classes have not been recompile.
After debugging, I found that it was caused by this line of code in the process method of the CodeGenProcessor class in the vertx-codgen class library.
As long as classes such as VertxProxyHandler are automatically generated once, unless the entire project is recompiled as a whole or the generated class is deleted, it will not be automatically generated in the future.
Do you have a reproducer?
https://github.com/changchengqin/codegen
Steps to reproduce
src/main/java/com/example/codegen/service/UserService.java
src/main/java/com/example/codegen/service/UserService.java
The normal expected result is that UserServiceVertxProxyHandler and UserServiceEBProxy should be updated accordingly, but the fact is not.
Extra
The text was updated successfully, but these errors were encountered: