Skip to content
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

Improve initial sync handling in headless mode #544

Merged
merged 3 commits into from
Mar 12, 2024

Conversation

asodja
Copy link
Member

@asodja asodja commented Mar 11, 2024

There were some problems with IntelliJ 2023.2 where we didn't detect initial import.

@asodja asodja self-assigned this Mar 11, 2024
@asodja asodja added the bug label Mar 11, 2024
There were some problems with IntelliJ 2023.2 where we didn't detect initial import.
@asodja asodja force-pushed the asodja/better-headless-2023.2 branch from ed51441 to 82ba560 Compare March 11, 2024 10:01
@@ -93,6 +93,7 @@ private List<String> getAdditionalJvmArgs() {
if (SHOULD_RUN_HEADLESS) {
systemProperties.put("java.awt.headless", "true");
}
systemProperties.put("external.system.auto.import.disabled", "true");
Copy link
Member

@6hundreds 6hundreds Mar 11, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this line is still required, if we have this?

Copy link
Member Author

@asodja asodja Mar 11, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point, you are right, we shouldn't handle it in two places. I think it's correct that we have this flag here before our plugin is loaded. We just need to remove it GradleProfilerClient since that is already too late. And we need to set this flag in unit tests too.

@asodja asodja force-pushed the asodja/better-headless-2023.2 branch 2 times, most recently from 179a62b to 82ba560 Compare March 11, 2024 10:12
@asodja asodja force-pushed the asodja/better-headless-2023.2 branch from 184a6c2 to 4a90ea8 Compare March 11, 2024 10:17
@asodja asodja force-pushed the asodja/better-headless-2023.2 branch from 5a542a7 to 83dacfc Compare March 12, 2024 15:53
@asodja asodja marked this pull request as ready for review March 12, 2024 16:51
@asodja asodja merged commit c5b6e32 into master Mar 12, 2024
7 of 9 checks passed
@cobexer cobexer deleted the asodja/better-headless-2023.2 branch December 20, 2024 09:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants