From: Roland Haeder Date: Fri, 19 Feb 2016 13:39:24 +0000 (+0100) Subject: Updated dist.sh X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=6fff5ec1f3d69e2af6bbe5aae3d70da90a5ee66c;p=jaddressbook-share-lib.git Updated dist.sh Signed-off-by: Roland Häder --- diff --git a/dist.sh b/dist.sh index db1768f..a0a77ed 100755 --- a/dist.sh +++ b/dist.sh @@ -15,11 +15,20 @@ WILDFLY_MODULE_PATH="${WILDFLY_MODULE_BASE_PATH}/${NAME}/main" # module.xml WILDFLY_MODULE_XML_FILE="wildfly/module.xml" +# Glassfish base path (domain) +GLASSFISH_BASE_PATH="${HOME}/gf_domain/lib" + # Generate list LIST=`find ../*/lib/${NAME}.jar` LIST="${LIST} `find ../*/*-ejb/lib/${NAME}.jar`" LIST="${LIST} ${WILDFLY_MODULE_PATH}" +if [ -d "${GLASSFISH_BASE_PATH}" ] +then + echo "$0: Glassfish personal domain found, adding to LIST ..." + LIST="${LIST} ${GLASSFISH_BASE_PATH}" +fi + if [ ! -f "${DIST}" ] then echo "$0: '${DIST}' not found."