mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-06-27 04:22:05 +00:00
MINOR - OpenMetadata OPS to load collate-service jars first (#15143)
This commit is contained in:
parent
5063b341e4
commit
aaa649a637
@ -38,6 +38,13 @@ if [ ${debug} ] ; then
|
|||||||
echo $LIBS_DIR
|
echo $LIBS_DIR
|
||||||
fi
|
fi
|
||||||
if [ -d "${LIBS_DIR}" ]; then
|
if [ -d "${LIBS_DIR}" ]; then
|
||||||
|
# First, add collate-service jar to the classpath.
|
||||||
|
# This is required for cases where we override classes from dependencies.
|
||||||
|
for file in "${LIBS_DIR}"collate-service-*.jar;
|
||||||
|
do
|
||||||
|
CLASSPATH="$CLASSPATH":"$file"
|
||||||
|
done
|
||||||
|
# Then, add the rest of the libraries
|
||||||
for file in "${LIBS_DIR}"*.jar;
|
for file in "${LIBS_DIR}"*.jar;
|
||||||
do
|
do
|
||||||
CLASSPATH="$CLASSPATH":"$file"
|
CLASSPATH="$CLASSPATH":"$file"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user