Skip to content

Removing folder containing apps from a workspace doesn't (always) remove the apps from dashboard #15

Closed

Description

Follow up on a problem noted in testing #14

I think the problem isn't actually a bug in vscode-spring-boot, but we should investigate precisely why/where things go wrong and raise a bug against the extension(s) where fixes are needed to address the problem. So for the time being I'm creating a bug ticket here.

This method works for me to consistently reproduce the problem:

  1. have vscode-spring-boot-dashboard and required dependencies installed (pivotal.spring-boot and redhat.java)

  2. make sure you have a simple 'hello-world' style boot app (or can even be a brand-new empty app created with intializer) on disk. Open vscode from with that root of this app as its workspace root.

  3. Use 'Add folder to workspace' to add a folder with multiple spring-boot apps. I was using a clone of this repo: https://github.com/kdvolder/chatter

  4. Wait for apps to appear (this may take some time, as it can take a while for the maven project models to be built).

  5. remove the chatter workspace folder from the workspace (Right click it and select 'Remove from workspace').

=> Most of the times I try this at least one of the 6 apps does not get removed from boot dash.

Activity

  1. added
    bug
    on Jul 25, 2018
  2. kdvolder commented on Aug 21, 2018

    @kdvolder
    CollaboratorAuthor

    I'll take a look at this since I supect the problem is really on our end (in the classpath/project listener extension that vscode-spring-boot contributes the redhat.java extension).

  3. kdvolder commented on Aug 22, 2018

    @kdvolder
    CollaboratorAuthor

    I've pushed a fix for this vscode-spring-boot extension: spring-projects/spring-tools@0b8d44d

    Fix was verified by me using latestt vscode-spring-boot snapshot build and a clone of vscode-spring-boot-dashboar repop.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions