[bs-136] Add 'spring run --local ...'
Use this to download and cache the dependencies to ./grapes. Good for running on virgin system (like PaaS). [Fixes #50511883] Add --local to RunCommand
This commit is contained in:
@@ -66,7 +66,7 @@ mkdir -p "${TARGETDIR%/}"
|
||||
|
||||
CLASSPATH="${CLASSPATH}":"${SPRING_BIN}":"${TARGETDIR}"
|
||||
|
||||
for f in "${SPRING_HOME}"/*.jar "${SPRING_HOME}"/lib/*.jar "${SPRING_HOME}"/classes; do
|
||||
for f in "${SPRING_HOME}"/classes "${SPRING_HOME}"/*.jar "${SPRING_HOME}"/lib/*.jar; do
|
||||
[ -f $f ] && CLASSPATH="${CLASSPATH}":$f
|
||||
done
|
||||
|
||||
|
||||
Reference in New Issue
Block a user