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
{{ message }}
Repository navigation
Removing folder containing apps from a workspace doesn't (always) remove the apps from dashboard #15
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:
have vscode-spring-boot-dashboard and required dependencies installed (pivotal.spring-boot and redhat.java)
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.
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
Wait for apps to appear (this may take some time, as it can take a while for the maven project models to be built).
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.
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).
Activity
kdvolder commentedon Aug 21, 2018
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).
kdvolder commentedon Aug 22, 2018
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.