From: Roland Haeder Date: Sat, 20 Feb 2016 21:14:34 +0000 (+0100) Subject: updated jar(s) + dist.sh X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=9c4cd9d2b5d9703b9529ddcba61cc8b4418ad0d4;p=jshop-lib.git updated jar(s) + dist.sh --- diff --git a/dist.sh b/dist.sh index 246c96a..0bdc4a4 100755 --- a/dist.sh +++ b/dist.sh @@ -18,6 +18,12 @@ WILDFLY_MODULE_XML_FILE="wildfly/module.xml" # Glassfish base path (domain) GLASSFISH_BASE_PATH="${HOME}/gf_domain/domain/lib" +# Remote Glassfish path +GLASSFISH_SSH_PATH="/var/glassfish/domains/domain1/lib" + +# Remote SSH server (password-less access) +GLASSFISH_SSH_SERVER="www.mxchange.org" + # Generate list LIST=`find ../*/lib/${NAME}.jar` LIST="${LIST} `find ../*/*-ejb/lib/${NAME}.jar`" @@ -53,8 +59,15 @@ do else echo "$0: Target '${target}' not found." fi + done +if [ -n "${GLASSFISH_SSH_PATH}" -a -n "${GLASSFISH_SSH_SERVER}" ] +then + echo "$0: Copying to remote '${GLASSFISH_SSH_SERVER}' ..." + scp "${DIST}" "${GLASSFISH_SSH_SERVER}:${GLASSFISH_SSH_PATH}" +fi + # Copy module.xml ... if [ -f "${WILDFLY_MODULE_XML_FILE}" ] then diff --git a/lib/jcore.jar b/lib/jcore.jar index a2972e6..a5001cd 100644 Binary files a/lib/jcore.jar and b/lib/jcore.jar differ diff --git a/lib/jshop-core.jar b/lib/jshop-core.jar index e683786..49b6985 100644 Binary files a/lib/jshop-core.jar and b/lib/jshop-core.jar differ