-
Notifications
You must be signed in to change notification settings - Fork 18
Massive updat to IJ Aspects #515
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
The transitives cause issues in self-hosted Eclipse with duplicate bundles. We should be a good citizen and not contribute duplicate bundles to the target platform.
The lifetime of the cache is tightly coupled to the model manager. Thus, it makes sense to move this into the model manager class, which forces better design.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice upgrade.
The IJ Aspects progressed quite a bit. A new templating system was introduced to create aspects with different behavior depending on the Bazel version. Additional the design was modified so that aspects are no longer added as a repository but become part of the workspace, i.e. they are copied into the workspace during sync. This seems to work better with Bazel caching (according to the IJ Aspects commit history). When importing aspects we no longer consume them as a repository. Instead we build them directly in the IJ repository and then copy & extract into our zip archive. The zip archive is later extracted into a temp location for better working with multiple Bazel workspaces.
@AnqiHuangQiQi These seem to be specific problems with the JDK you are using. Please make sure you are using Eclipse Temurin JDK 21. |
Hi. Qq when will this PR get checked-in? |
Thank you! I'm actually curious when will this change be ready on Bazel-vscode-java extension pre-release version. |
The IJ Aspects progressed quite a bit. A new templating system was
introduced to create aspects with different behavior depending on the
Bazel version.
Additional the design was modified so that aspects are no longer added
as a repository but become part of the workspace, i.e. they are copied
into the workspace during sync. This seems to work better with Bazel
caching (according to the IJ Aspects commit history).
When importing aspects we no longer consume them as a repository.
Instead we build them directly in the IJ repository and then copy &
extract into our zip archive. The zip archive is later extracted into a
temp location for better working with multiple Bazel workspaces.