usethesource / rascal-maven-plugin

The Maven plugin for Rascal checking, compilation, testing, code generation applications integration and documentation generation.
2 stars 2 forks source link

Command-line console is broken on Windows #6

Closed rodinaarssen closed 2 years ago

rodinaarssen commented 2 years ago
$ mvn rascal:console
[INFO] Scanning for projects...
[INFO]
[INFO] ----------------------< org.rascalmpl:rascal-lsp >----------------------
[INFO] Building rascal-lsp 1.2.0-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
Downloading from central: https://repo.maven.apache.org/maven2/com/google/code/gson/gson/maven-metadata.xml
Downloading from usethesource-releases: https://releases.usethesource.io/maven/com/google/code/gson/gson/maven-metadata.xml
Downloaded from central: https://repo.maven.apache.org/maven2/com/google/code/gson/gson/maven-metadata.xml (1.3 kB at 2.9 kB/s)
[INFO]
[INFO] --- rascal-maven-plugin:0.7.1:console (default-cli) @ rascal-lsp ---
Error: Could not find or load main class org.rascalmpl.shell.RascalShell
Caused by: java.lang.ClassNotFoundException: org.rascalmpl.shell.RascalShell
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  3.036 s
[INFO] Finished at: 2022-01-10T12:35:02+01:00
[INFO] ------------------------------------------------------------------------

This is caused by an incorrect hard-coded path separator character (which should be ; on Windows systems instead of :)