OpenLiberty / liberty-tools-vscode

Visual Studio Code extension for Liberty Tools
https://marketplace.visualstudio.com/items?itemName=Open-Liberty.liberty-dev-vscode-ext
Eclipse Public License 2.0
18 stars 35 forks source link

Test Case for Handling Spaces in App name and Directory Name. #354

Open aparnamichael opened 1 month ago

aparnamichael commented 1 month ago

Include test case for the following: The application name has a space. The directory name contains a space.

SuparnaSuresh commented 1 month ago

The application name has a space.

Cannot handle this scenario for maven since app name with space is not allowed. In pom.xml file, artifact - id - is the project name. Artifact id with space is not valid in pom.xml and it will throw error while we perform the LTV actions.

[ERROR] 'artifactId' with value 'app-liberty mvn' does not match a valid id pattern,

hence cannot cover this scenario.

The directory name contains a space.