Skip to content

Conversation

@tgodzik
Copy link
Contributor

@tgodzik tgodzik commented Nov 19, 2025

I don't see a reason why it was removed, please let me know next time when there is some changes to this part.

@tgodzik
Copy link
Contributor Author

tgodzik commented Nov 19, 2025

Another issue seems that sbt is giving a wrong classpath to metals now.

@tgodzik tgodzik force-pushed the add-back-enable branch 2 times, most recently from 31113d7 to 1c30392 Compare November 19, 2025 15:41
@hamzaremmal
Copy link
Member

Should be rebased on top of this (#24483) if possible.

@tgodzik tgodzik force-pushed the add-back-enable branch 3 times, most recently from ea506fc to 18d8cc9 Compare November 19, 2025 20:17
@tgodzik tgodzik requested a review from hamzaremmal November 19, 2025 20:20
@tgodzik
Copy link
Contributor Author

tgodzik commented Nov 19, 2025

Should be good now, the flag is now enabled only in the project that the PC depends on, otherwise we would not get the full classpath.

Copy link
Member

@hamzaremmal hamzaremmal left a comment

Choose a reason for hiding this comment

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

To achieve the purpose of this PR, we only need to change all the bspEnabled := false, to bspEnabled := enableBspAllProjects,. Nothing more than that.

// Generate library.properties, used by scala.util.Properties
Compile / resourceGenerators += generateLibraryProperties.taskValue
Compile / resourceGenerators += generateLibraryProperties.taskValue,
bspEnabled := enableBspAllProjects,
Copy link
Member

@hamzaremmal hamzaremmal Nov 20, 2025

Choose a reason for hiding this comment

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

This is just wrong. I don't want to have to enable BSP in every project to have the non-bootstrapped stdlib (the root of every scala project in the Build).

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It does work without this part, though I don't think there anything "just wrong" about it. Saying I don't think we need this part would probably suffice and avoid using loaded language.

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.

3 participants