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
The BeanView and BeanView2 classes are generated correctly (@ViewSetters(Access.PUBLIC) is inherited correctly, so BeanView contains a setter)
BeanMeta contains a reference to both views
Touch BeanViewConfig by adding a space
Build the project again (without clean)
The setter is not present anymore in the generated BeanView class.
The generated BeanMeta class only contains a reference to BeanView (and not BeanView2)
(After performing mvn clean, the first build is correct again)
Temporary workaround?
I assume the problem lies in the incremental compilation feature of Beanknife. Is it possible to disable this feature and rebuild all Beanknife classes everytime? As a temporary fix.
For now, cleaning before each build solves the issue.
The text was updated successfully, but these errors were encountered:
I'm using Intellij IDEA Ultimate 2023.1.1 (newest). When building outside of the IDE (using the maven wrapper in the sample project), it works! When configuring Intellij to use maven for building (setting: Delegate IDE build/run actions to Maven), it also works.
So apparently the issue only occurs with the Intellij (incremental) builder. Maybe this is an Intellij bug then, what do you think?
Issue:
The initial build works fine. However after changing a beanknife config class (adding a space is enough) and building again, two problems occur:
Problem 1 occurs when building with JDK 19.0.2, but not with JDK 1.8.0_42
Problem 2 occurs with both SDKs
Steps to reproduce:
@ViewSetters(Access.PUBLIC)
is inherited correctly, so BeanView contains a setter)(After performing
mvn clean
, the first build is correct again)Temporary workaround?
I assume the problem lies in the incremental compilation feature of Beanknife. Is it possible to disable this feature and rebuild all Beanknife classes everytime? As a temporary fix.
For now, cleaning before each build solves the issue.
The text was updated successfully, but these errors were encountered: