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
It's my impression (and has been for many months now) that Usus is no longer synchronized with the Java workspace model. That is, I noticed the graph views not updating when refactoring, e.g. moving classes. This even happens when cueing the refactoring from the graph views themselves (through the context menu actions on nodes).
Trying to get Usus to refresh its model through the Usus Cockpit refresh action doesn't help. Unticking Compute Automatically in the overflow menu doesn't, either. It might be these are only to refresh the metric calculations, not the Usus model itself.
Ultimately, only unselecting a project in the Usus Projects view and reselecting it helps.
My feeling is that it's a problem with running Usus in more recent Eclipse versions which probably introduced changes in the workspace/Java AST/build management compared to Eclipse 3.x which was the basis for the development of Usus.
I'm currently trying to get TravisCI back in action, but I notice the Maven/Tycho build fails on tests that also seem to be related to an outdated Usus model. I was able to fix two random tests by using the ForcedRecompute operation, but this is clearly just a workaround. Checkout the restore-build branch for the current progress.
Any ideas?
The text was updated successfully, but these errors were encountered:
One quick observation: It appears that nodes of classes that are moved using the Refactor menu in the Class Graph view are not updated when the Usus Cockpit is minimized/without focus (e.g. when the graph view is maximized). Only bringing it to the front will refresh the graph views.
@usus/owners, do you have suggestions on where to start looking?
It's my impression (and has been for many months now) that Usus is no longer synchronized with the Java workspace model. That is, I noticed the graph views not updating when refactoring, e.g. moving classes. This even happens when cueing the refactoring from the graph views themselves (through the context menu actions on nodes).
Trying to get Usus to refresh its model through the Usus Cockpit refresh action doesn't help. Unticking Compute Automatically in the overflow menu doesn't, either. It might be these are only to refresh the metric calculations, not the Usus model itself.
Ultimately, only unselecting a project in the Usus Projects view and reselecting it helps.
My feeling is that it's a problem with running Usus in more recent Eclipse versions which probably introduced changes in the workspace/Java AST/build management compared to Eclipse 3.x which was the basis for the development of Usus.
I'm currently trying to get TravisCI back in action, but I notice the Maven/Tycho build fails on tests that also seem to be related to an outdated Usus model. I was able to fix two random tests by using the
ForcedRecompute
operation, but this is clearly just a workaround. Checkout therestore-build
branch for the current progress.Any ideas?
The text was updated successfully, but these errors were encountered: