]> git.mxchange.org Git - jcore.git/commitdiff
WildFly branch created with initial scripts, but it doesn't load my libs.
authorRoland Haeder <roland@mxchange.org>
Fri, 19 Feb 2016 13:38:18 +0000 (14:38 +0100)
committerRoland Haeder <roland@mxchange.org>
Fri, 19 Feb 2016 13:38:18 +0000 (14:38 +0100)
Signed-off-by: Roland Häder <roland@mxchange.org>
dist.sh

diff --git a/dist.sh b/dist.sh
index db1768f4a3852725bb110ca8ac588d5fc57932ff..a0a77ede7c9cfd7d51d802a0c1dab98b3f18f683 100755 (executable)
--- 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."