use wildcard import (#14697)

This commit is contained in:
xiangzihao 2023-08-03 19:04:00 +08:00 committed by GitHub
parent a5f5aacb5d
commit 85f6a6e73c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -42,11 +42,9 @@ fi
CP="" CP=""
for d in $DOLPHINSCHEDULER_HOME/libs/*; do for d in $DOLPHINSCHEDULER_HOME/libs/*; do
for f in $d/*.jar; do CP=$CP:"$d/*"
CP=$CP:$f
done
done done
$JAVA_HOME/bin/java $JAVA_OPTS \ $JAVA_HOME/bin/java $JAVA_OPTS \
-cp "$DOLPHINSCHEDULER_HOME/conf":"$CP" \ -cp "$DOLPHINSCHEDULER_HOME/conf""$CP" \
org.apache.dolphinscheduler.StandaloneServer org.apache.dolphinscheduler.StandaloneServer