Document workaround for CRaSH's limited class path scanning

Closes gh-6384
This commit is contained in:
Andy Wilkinson 2016-07-18 12:11:45 +01:00
parent d708bff26d
commit 48596dfbde
1 changed files with 3 additions and 0 deletions

View File

@ -886,6 +886,9 @@ for details). By default Spring Boot will search for commands in the following l
TIP: You can change the search path by settings a `shell.command-path-patterns` property.
NOTE: If you are using an executable archive, any classes that a shell command depends
upon must be packaged in a nested jar rather than directly in the executable jar or war.
Here is a simple '`hello`' command that could be loaded from
`src/main/resources/commands/hello.groovy`