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

Maven dependency classes opened by debugger from sources jar #659

Closed
sfussenegger opened this issue Apr 28, 2022 · 3 comments
Closed

Maven dependency classes opened by debugger from sources jar #659

sfussenegger opened this issue Apr 28, 2022 · 3 comments

Comments

@sfussenegger
Copy link

See this screenshot:

opened

The first tab (with the "J" icon) is opened by debugger. Hovering over it shows the path as a tooltip and it's "~/.m2/repository/.../...-sources.jar/../....java".

The editor opened by "Open Type" (with the "010" icon) has the qualified class name as tooltip.

So for some reason debugger chooses to open the source like an external source file, hence the "missing Java project context".

Related to #546203.

@mickaelistria
Copy link
Contributor

Can you please provide some minimal steps to reproduce the issue with latest Eclipse SDK and m2e snapshots?

@arjantijms
Copy link

I know it's but a minimal data point but with 2021-12 I had exactly this all the time. M2E would see source jars not as attachments to jar files without source, but as a fully individual jar containing external source.

With 2022-03 this issue disappeared for me.

@mickaelistria
Copy link
Contributor

Thanks @arjantijms . Let's be optimist and hope your positive experience applies generally, and close.

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

No branches or pull requests

3 participants