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

Status message "Updating Maven projects" shows progress more than 100% #605

Closed
Eskibear opened this issue Aug 3, 2018 · 1 comment
Closed
Assignees

Comments

@Eskibear
Copy link
Contributor

Eskibear commented Aug 3, 2018

(Originally reported in microsoft/vscode-maven#116 by @lashchev )

Describe the bug
Status message "Updating Maven projects" shows progress more than 100%, in my case it is 12767%.

To Reproduce
Steps to reproduce the behavior:

  1. Open pom.xml
  2. Open command pallet (F1)
  3. Run "Java: Update project configuration"
  4. Watch messages appearing on the status bar at the bottom of VSCode window

Expected behavior
A clear and concise description of what you expected to happen.

Environments (please complete the following information as much as possible):

  • OS: Windows 10 v1803
  • VS Code version: 1.25.1
  • Extension version 0.10.0

Screenshots
screenshot

@Eskibear
Copy link
Contributor Author

Eskibear commented Aug 3, 2018

Following are what I find in https://github.com/eclipse/m2e-core/

https://github.com/eclipse/m2e-core/blob/c4e4eba221dfa249d267af714fdc3b440edd9196/org.eclipse.m2e.core/src/org/eclipse/m2e/core/internal/messages.properties#L111

ProjectConfigurationManager_task_updating_projects=Updating Maven projects

https://github.com/eclipse/m2e-core/blob/41f5ae34ad2543ef1439b7fd7e0a03b596af8685/org.eclipse.m2e.core/src/org/eclipse/m2e/core/internal/project/ProjectConfigurationManager.java#L368-L369

monitor.beginTask(Messages.ProjectConfigurationManager_task_updating_projects, pomFiles.size()
    * (1 + (updateConfiguration ? 1 : 0) + (cleanProjects ? 1 : 0) + (refreshFromLocal ? 1 : 0)));

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

No branches or pull requests

3 participants