Feature: Fixing class-path
This commit is contained in:
parent
d15b451319
commit
3352169028
2
warp4j
2
warp4j
@ -652,7 +652,7 @@ if [[ $JAVA_DISTRO_TYPE == $DISTRO_TYPE_JDK ]]; then
|
|||||||
echo "Extracting jar file to get classpath"
|
echo "Extracting jar file to get classpath"
|
||||||
unzip -q "${JAR}" -d "${EXTRACTED_JAR_PATH}"
|
unzip -q "${JAR}" -d "${EXTRACTED_JAR_PATH}"
|
||||||
echo "Fetching modules"
|
echo "Fetching modules"
|
||||||
MODULES=$($JDEPS --ignore-missing-deps --print-module-deps --recursive --multi-release $JAVA_VERSION_BASE -quiet --class-path=${EXTRACTED_JAR_PATH}/BOOT-INF/lib/* --module-path=${EXTRACTED_JAR_PATH}/BOOT-INF/lib/BOOT-INF/lib/* $JAR | grep -v Warning)
|
MODULES=$($JDEPS --ignore-missing-deps --print-module-deps --recursive --multi-release $JAVA_VERSION_BASE -quiet --class-path=${EXTRACTED_JAR_PATH}/* --module-path=${EXTRACTED_JAR_PATH}/* $JAR | grep -v Warning)
|
||||||
else
|
else
|
||||||
echo "Fetch modules with default behavior"
|
echo "Fetch modules with default behavior"
|
||||||
MODULES=$("$JDEPS" --print-module-deps --ignore-missing-deps --multi-release $JAVA_VERSION_BASE "$JAR" | grep -v Warning)
|
MODULES=$("$JDEPS" --print-module-deps --ignore-missing-deps --multi-release $JAVA_VERSION_BASE "$JAR" | grep -v Warning)
|
||||||
|
Loading…
Reference in New Issue
Block a user