You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When debugging in a workspace with multiple Java projects some may not be building at the moment and so the build will fails.
This triggers a prompt each time you try to debug your project even if it is building correctly.
Until now a configuration flag as been added to disable the build process to this case but if you still want to have your project built you cannot use it.
A better solution would be to add a configuration flag to allow building and proceeding with the debug session even if the build fails.
Steps To Reproduce
Create workspace
Add two Java projects
Make one project buildable
Make another project un-buildable (introduce a syntax error)
Try to debug the buildable project
Current Result
Prompts for build failure with following options: "Proceed","Fix...","Cancel"
If "Proceed" selected - allows debugging.
Expected Result
If a configuration flag exists with value "Proceed" allow proceeding with debug session.
I'm wondering that if I have multiple separate projects in a single workspace, is that possible to build each single project individually without relating to other projects in the same workspace ?
Activity
Fixes microsoft#888
srfrnk commentedon Oct 9, 2020
Created PR #889
shaochris commentedon Oct 11, 2020
I'm wondering that if I have multiple separate projects in a single workspace, is that possible to build each single project individually without relating to other projects in the same workspace ?
testforstephen commentedon Oct 12, 2020
Currently the build command doesn't support building a single project yet, could you open a feature request at https://github.com/redhat-developer/vscode-java/issues?
srfrnk commentedon Oct 12, 2020
Chris Shao (@shaochris) if you open this I'd love to +1 it! If you could please link it here?
shaochris commentedon Oct 12, 2020
Srfrnk (@srfrnk) No problem.😁
redhat-developer/vscode-java#1651
Fixes microsoft#888 (microsoft#889)