Skip to content

Commit

Permalink
clarify syntax of --tool-classpath
Browse files Browse the repository at this point in the history
* I naively assumed a `URLClassLoader` would require URL(s), and it
  did work for a while (the `file:` prefix is supported in
  java.nio.file.Paths.get()), until my path contained '%' which was
  not supposed to be escaped
* Seeing that repeating the argument did not work, I had to look up
  the source code to figure out the usage of a single,
  java.ioFile.pathSeparator-separated argument value
  • Loading branch information
github-brice-jaglin authored May 13, 2020
1 parent 02e305e commit 4105918
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ case class Args(
)
exclude: List[PathMatcher] = Nil,
@Description(
"Additional classpath for compiling and classloading custom rules."
"Additional classpath for compiling and classloading custom rules, as a set of filesystem paths, separated by ':' on Unix or ';' on Windows."
)
toolClasspath: URLClassLoader = ClasspathOps.thisClassLoader,
@Description("The encoding to use for reading/writing files")
Expand Down

0 comments on commit 4105918

Please sign in to comment.