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 state of the qualified name provider etc. should be reset on each new generation. Thus, its methods would best not be static.
Otherwise, state (wrt names) from the previous generation might leak into the next generation.
Example: first version of an app contains a button named "reset" and an action named reset. Then, the generated Android code contains errors, because the class .actions.Reset.javacontains a class Reset1 (related to a different bug: line 160 of AndroidGenerator.xtend should use getName as well).
Renaming the button to, e.g., "resetBtn" does not help directly, presumably because the old name mapping is still in the cache. Restarting the MD2-Eclipse instance and regenerating again resolves the error.
The text was updated successfully, but these errors were encountered:
The bug with regard to inconsistent naming mentioned above has been resolved.
The static naming behavior can still be observed - renaming an object is only reflected after a restart of the Eclipse instance running MD2.
The state of the qualified name provider etc. should be reset on each new generation. Thus, its methods would best not be static.
Otherwise, state (wrt names) from the previous generation might leak into the next generation.
Example: first version of an app contains a button named "reset" and an action named reset. Then, the generated Android code contains errors, because the class
.actions.Reset.java
contains a classReset1
(related to a different bug: line 160 of AndroidGenerator.xtend should use getName as well).Renaming the button to, e.g., "resetBtn" does not help directly, presumably because the old name mapping is still in the cache. Restarting the MD2-Eclipse instance and regenerating again resolves the error.
The text was updated successfully, but these errors were encountered: