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

Terminal Not responding for Run Maven Commands #1048

Open
SuparnaSuresh opened this issue Oct 21, 2024 · 2 comments
Open

Terminal Not responding for Run Maven Commands #1048

SuparnaSuresh opened this issue Oct 21, 2024 · 2 comments
Labels
needs more info Further information is requested

Comments

@SuparnaSuresh
Copy link

Describe the bug
Terminal is not responding for the "Run Maven Command" when one tries to perform the actions for a project opened from the directory, which includes space in the directory path [e.g: user/username/application support/mavenproject]. The terminal uses csh. Experiencing same issue for other terminals (bash,dash,sh) as well.

Steps to reproduce the behavior:

  1. Open project from the folder --> should contain space in the directory [e.g: user/username/application support/mavenproject]
  2. Right Click on Project name from Maven dashboard
  3. Click on Run Maven Command select any action
  4. Terminal is not responding for the command

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

  • OS: Mac
  • VS Code version: Version: 1.94.1
  • Extension version : v0.44.0
vscodemaven.mov
@testforstephen
Copy link
Collaborator

The 'Run Maven Commands' feature simply generates the command line and executes it in your terminal. If the terminal is unresponsive, this is beyond the control of this extension. To troubleshoot, try running the generated command manually in the terminal—does it work as expected?

@testforstephen testforstephen added the needs more info Further information is requested label Nov 11, 2024
@SuparnaSuresh
Copy link
Author

Corresponding command is not working even if it execute manually due the space in the project path. But tried below command its working fine.
cd "/Users/username/Downloads/app-mvn prjectvs" && ./mvnw clean -f "/Users/username/Downloads/app-mvn prjectvs/pom.xml"

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs more info Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants