Conversation
|
Maybe one more version of quoting that we can try: https://www.digizol.com/2006/12/setting-java-classpath-option-with.html . So quoting individual elements of the classpath. Haven't tested it myself... |
|
As @superaxander figured out: without quotes, the Windows paths in the |
|
Backslash issue should be resolved with this but I can't test it since the compilation fails due to the path being to long. This happens during the generation of the protobuf files. ScalaPBC should use the runWithArgumentFile option in protoc-bridge but it doesn't at the moment have an option to turn that on (so by extension the ScalaPB module in Mill also does not have this option) I guess we should open some issues on those projects' repos. |
Checklist:
PR description
A recent commit by @superaxander added quotes to file paths to allow spaces in paths. However, on my Windows machine, the quotes in the .classpath file resulted in Error: Could not find or load main class vct.main.Main, so we removed those quotes again.
The CI did not catch this, because https://github.com/utwente-fmt/vercors/blob/dev/.github/workflows/scalatest.yml uses a release jar, bypassing the classpath file.
ToDo: