mvnw issue
- Langage dominant
- CodeQL
- Étoiles
- 10.1k
- Forks
- 2.1k
- Merge moyen
- 2 j 15 h
- PR mergées (30 j)
- 141
Description
I just make a simple project that has a mvnw script in its root directory, and then I ran following from root directory:
```bash
codeql database create --source-root . --language=java DB_Codeql
```
I also try to ran from parent directory such as
```bash
codeql database create --source-root myMavenJavaPrj --language=java DB_Codeql
```
I got following error messages:
> [2023-06-13 00:26:44] [build-stdout] [2023-06-13 00:26:44] [autobuild] [ERROR] Error executing command /home/am/1_CodeQL Workspace/Java/myMavenJavaPrj/./mvnw clean package -f "pom.xml" -B -V -e -Dfindbugs.skip -Dcheckstyle.skip -Dpmd.skip=true -Dspotbugs.skip -Denforcer.skip -Dmaven.javadoc.skip -DskipTests -Dmaven.test.skip.exec -Dlicense.skip=true -Drat.skip=true -Dspotless.check.skip=true
> [2023-06-13 00:26:44] [build-stdout] com.semmle.util.exception.ResourceError: IOException while executing process with args: [/home/am/1_CodeQL, Workspace/Java/myMavenJavaPrj/./mvnw, clean, package, -f, pom.xml, -B, -V, -e, -Dfindbugs.skip, -Dcheckstyle.skip, -Dpmd.skip=true, -Dspotbugs.skip, -Denforcer.skip, -Dmaven.javadoc.skip, -DskipTests, -Dmaven.test.skip.exec, -Dlicense.skip=true, -Drat.skip=true, -Dspotless.check.skip=true]
> [2023-06-13 00:26:44] [build-stdout] Caused by: java.io.IOException: Cannot run program "/home/am/1_CodeQL" (in directory "."): error=2, No such file or directory
it seems that the problem can be `./mvnw ` too (maybe) which should be just `mvnw` the main issue seems to be the space character that exists in one of my directories name.
Guide de contribution
Ouvrir le guide de contribution
Évaluation
Cette issue n'a pas encore été évaluée.