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

native image has globbing active #1041

Open
hohwille opened this issue Feb 14, 2025 · 1 comment
Open

native image has globbing active #1041

hohwille opened this issue Feb 14, 2025 · 1 comment
Labels
bug Something isn't working CLI IDEasy command-line-interface (parsing args, etc.) core FileAccess, ProcessUtil, IdeContext, etc.

Comments

@hohwille
Copy link
Member

hohwille commented Feb 14, 2025

$ ideasy version-set mvn '*'
Invalid arguments: "version-set" "mvn" "pom.xml" "src" "target"

It seems that our GraalVM native image build includes globbing aka wildcard expansion for Windows.

See also here for details: msys2/MSYS2-packages#5212

We need to find an option in GraalVM to disable this unwanted behaviour.

Expected behavior

As an IDEasy user I expect the set-version command to be able to set my version to the latest one when I type f.e. ide set-version gradle *

Actual behavior

Instead I get this output:

$ ideasy set-version gradle *

No matching property found
Invalid arguments: "set-version" "gradle" "conf" "plugins" "settings" "software" "workspaces"

Steps to reproduce (bug) / Use Case of feature request (enhancement)

  1. Run: ide set-version gradle *
  2. Check the output.

Related/Dependent Issues

Comments/Hints:

This issue occurs in Windows Terminal git bash
single git bash
single cmd
single powershell
using '*' or "*" also does not work

Affected version:

  • OS: Windows 10
  • IDEasy: 2025.01.001-beta-01_21_02-SNAPSHOT
@hohwille hohwille added bug Something isn't working CLI IDEasy command-line-interface (parsing args, etc.) core FileAccess, ProcessUtil, IdeContext, etc. labels Feb 14, 2025
@github-project-automation github-project-automation bot moved this to 🆕 New in IDEasy board Feb 14, 2025
@hohwille
Copy link
Member Author

Also see #1040 that is a duplicate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working CLI IDEasy command-line-interface (parsing args, etc.) core FileAccess, ProcessUtil, IdeContext, etc.
Projects
Status: 🆕 New
Development

No branches or pull requests

1 participant