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 compile error visibility #75

Open
wants to merge 22 commits into
base: wix-master
Choose a base branch
from
Open

Conversation

ittaiz
Copy link

@ittaiz ittaiz commented Dec 12, 2022

added more info on failure from BspJob compile result, also lowered timeout time
I'd love concrete feedback on the code.
Java/Scala future interop is not great and my java toolbox is definitely poorer compared to my scala one.

ZachiNachshon and others added 22 commits December 9, 2022 05:06
…47)

* only filters labels according to parent packages for LanguageClass.C
This is to keep supporting CPP need while also supporting aggregate targets
More info:
https://bazelbuild.slack.com/archives/CM8JQCANN/p1566481600003600
Filter was deliberately added to fix an issue with C++ headers.
The original bug was that opening the BUILD file for foo/bar.h caused it to open baz/qux/BUILD because there’s a cc_library target in baz/qux that includes foo/bar.h in its headers. The source-to-target look up queries the index for the target during the last sync which compiled the source file. In this case, it was the cc_library target in baz/qux.
So the fix was to ensure that the BUILD file is always for the parent package (foo/bar)
Don't use ijars as they break source navigation

- ignore java_import /_ijar/ as its original location is not know
- replace -ijar with sibling full jar
- replace -hjar with sibling full jar

https://youtrack.jetbrains.com/issue/SCL-16975/Navigation-to-attached-Scala-sources-for-interface-jar-does-not-work
Add support for scala source attachment
Add source root detection for Java and Scala source jars. Detection is required when dire4ctory structure in source jar has deeper structure than source packages.

Source attachement changes for 2022.3 support
`idea.plugin.protoeditor` needs to be aware of source roots of proto
libraries

Add proto files to target sources
Via running bloop and BSP
for some reason without the + the runfiles dir isn't created
this is something that native rules don't suffer from
another alternative is to add the _hidden_top_level_INTERNAL_ output group
Location substituion supports runpath(s) in addition to location(s)
Still includes a hack of the env variable of BUILD_TOOL which we need to see how to remove but at least a smaller hack than before
@ittaiz
Copy link
Author

ittaiz commented Dec 12, 2022

Maybe worth not merging this for now until I finish iterating with Karolis on this.
Keeping it as non draft since I want your review :)

@ittaiz
Copy link
Author

ittaiz commented Dec 21, 2022

@mildagle would appreciate your 2c on this PR

@liucijus liucijus force-pushed the wix-master branch 2 times, most recently from bd43a7c to 9911945 Compare December 29, 2022 14:53
@WixBuildServer WixBuildServer force-pushed the wix-master branch 2 times, most recently from e09e9c3 to 915bf19 Compare January 5, 2023 05:09
@WixBuildServer WixBuildServer force-pushed the wix-master branch 5 times, most recently from 8b5dcf2 to 5e997b6 Compare July 17, 2024 05:01
@WixBuildServer WixBuildServer force-pushed the wix-master branch 3 times, most recently from 0bfb111 to 0820309 Compare July 24, 2024 05:01
@WixBuildServer WixBuildServer force-pushed the wix-master branch 4 times, most recently from 63a8008 to 2966d75 Compare July 31, 2024 05:01
@WixBuildServer WixBuildServer force-pushed the wix-master branch 5 times, most recently from b06f7c9 to 00c4218 Compare August 9, 2024 05:01
@WixBuildServer WixBuildServer force-pushed the wix-master branch 3 times, most recently from 760b14f to 8f7195f Compare August 17, 2024 05:01
@WixBuildServer WixBuildServer force-pushed the wix-master branch 3 times, most recently from d75934d to 55c12f1 Compare August 22, 2024 05:01
@WixBuildServer WixBuildServer force-pushed the wix-master branch 5 times, most recently from c4688fc to 7d1319b Compare September 3, 2024 05:02
@WixBuildServer WixBuildServer force-pushed the wix-master branch 2 times, most recently from 2686c19 to 5b80ab4 Compare September 5, 2024 05:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants