Skip to content

Support HCR for gradle build server projects - #555

Merged
Jinbo Wang (testforstephen) merged 6 commits into
mainfrom
cs/hcr
Jun 14, 2024
Merged

Support HCR for gradle build server projects#555
Jinbo Wang (testforstephen) merged 6 commits into
mainfrom
cs/hcr

Conversation

@jdneo

@jdneo Sheng Chen (jdneo) commented Jun 3, 2024

Copy link
Copy Markdown
Member
  • when HCR request comes, find the main project and check if it's a
    gradle build server project, if yes, trigger the incremental build.

requires: microsoft/vscode-gradle#1493

How to test the change

replace the following jar file into the vscode gradle extension installation path, under the server folder
com.microsoft.gradle.bs.importer-0.2.0.jar.zip

Launch debugger extension with this change.

fix microsoft/vscode-gradle#1449
fix redhat-developer/vscode-java#3392
fix microsoft/vscode-java-debug#1402
fix microsoft/vscode-java-debug#1481
fix #554

Signed-off-by: Sheng Chen <sheche@microsoft.com>
*/
public static IProject getMainProject(String mainProjectName, String mainClassName) {
IProject mainProject = null;
if (StringUtils.isNotEmpty(mainProjectName)) {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

use isNotBlank instead

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment