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

Bug bash: 3.9.0 #1129

Closed
4 tasks done
Tracked by #852
CsCherrYY opened this issue Dec 20, 2021 · 0 comments
Closed
4 tasks done
Tracked by #852

Bug bash: 3.9.0 #1129

CsCherrYY opened this issue Dec 20, 2021 · 0 comments
Assignees
Labels
eng engineering work
Milestone

Comments

@CsCherrYY
Copy link
Collaborator

CsCherrYY commented Dec 20, 2021

cc: @Eskibear

  1. Download https://docs.gradle.org/current/samples/zips/sample_building_java_applications-groovy-dsl.zip
  2. Open Gradle Projects view, wait for configuring, and check tasks in demo project.
  3. Can see application, build and distribution and some other take types in the view.
  4. Try to run build task under build type in demo project, this task should execute successfully.
  1. Use project from step 1 of the previous issue
  2. In ./app/build.gradle, add the following snippet
task runApp(type: JavaExec) {
  classpath = sourceSets.main.runtimeClasspath
  mainClass = 'demo.App'
}
  1. set the following configuration in ./vscode/settings.json:
"gradle.javaDebug": {
    "tasks": [
        "app:runApp",
    ],
}
  1. in VS Code setting, set gradle.allowParallelRun to true and gradle.reuseTerminals to off.
  2. open App.java in app project, add a breakpoint in main method, e.g. line 12.
  3. find runApp task under other type in app project
  4. Click Debug task in inline buttons of runApp, the debugging process should stop at the breakpoint.
  5. Click Debug task again, you will find another debug process in the CALL STACK view of debugging container.
    image
  6. Continue debugging, the two processes will finish successfully.
  1. Use project from step 1 of the previous issue
  2. In dependencies closure of ./app/build.gradle, try to add a new dependency declaration
  3. input implementation("org.spr") and trigger auto-completion manually
  4. can find org.springframework.boot in the candidates and choose it.
  5. the group id org.springframework.boot will be insert into the declaration with a following :. And the artifact id candidates will be automatically appear.
  6. can find spring-boot-starter-web in the candidates, and choose it.
  7. the artifact id spring-boot-starter-web will be insert into the declaration with a following :. And the version candidates with updated date information will be automatically appear.
  8. choose one version, the text should be inserted into the declaration correctly.
  1. open a non-gradle folder, can't find Refresh Gradle Tasks, Run a Gradld Build and Find Gradle Task in the command palette.
  2. open a gradle folder, can find the above commands with prefix Gradle:
@CsCherrYY CsCherrYY added the eng engineering work label Dec 20, 2021
@CsCherrYY CsCherrYY added this to the December 2021 milestone Dec 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
eng engineering work
Projects
None yet
Development

No branches or pull requests

2 participants