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
Specifying target/dependency/* as a class path option is common practice and highly suggested as a method of collecting .m2 jars. See https://stackoverflow.com/a/6079820/8652920
Therefore, this functionality should be easily accessible when specifying classpaths in launch.json. This is not the case, however, and asterisks seem to be prematurely escaped.
Class path wildcards are officially an option in Java: https://docs.oracle.com/javase/6/docs/technotes/tools/windows/classpath.html
Specifying target/dependency/* as a class path option is common practice and highly suggested as a method of collecting .m2 jars. See https://stackoverflow.com/a/6079820/8652920
Therefore, this functionality should be easily accessible when specifying classpaths in
launch.json
. This is not the case, however, and asterisks seem to be prematurely escaped.Environment
Steps To Reproduce
"shortenCommandLine": "none"
to see the full command in terminal-cp
value generated by this extensiontarget/dependency/\*
Current Result
cd /path/to/maven/project ; /usr/bin/env /usr/lib/jvm/java-17-openjdk-amd64/bin/java -agentlib:jdwp=transport=dt_socket,server=n,suspend=y,address=localhost:45743 -DconfigFile=src/main/resources/properties/config.properties -Dno_system_volume=true -XX:+ShowCodeDetailsInExceptionMessages -cp /path/to/maven/project/target/dependency/\* com.my.project.Main
Expected Result
cd /path/to/maven/project ; /usr/bin/env /usr/lib/jvm/java-17-openjdk-amd64/bin/java -agentlib:jdwp=transport=dt_socket,server=n,suspend=y,address=localhost:45743 -DconfigFile=src/main/resources/properties/config.properties -Dno_system_volume=true -XX:+ShowCodeDetailsInExceptionMessages -cp /path/to/maven/project/target/dependency/* com.my.project.Main
Additional Informations
The text was updated successfully, but these errors were encountered: