]> git.mxchange.org Git - jshop-core.git/commitdiff
updated jar(s) + dist.sh
authorRoland Haeder <roland@mxchange.org>
Wed, 2 Mar 2016 17:56:37 +0000 (18:56 +0100)
committerRoland Haeder <roland@mxchange.org>
Wed, 2 Mar 2016 17:56:37 +0000 (18:56 +0100)
dist.sh
lib/jcore.jar

diff --git a/dist.sh b/dist.sh
index 246c96af1ea769f1b3d0537977b2876d719ffbac..0bdc4a4324b99914642cb6633dcf4ff23144330a 100755 (executable)
--- 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
index a2972e6fc4702d5293d1c0b46b2a83acd92d9b29..a5001cda3e95c0b4df6849a556df1d213c98fd49 100644 (file)
Binary files a/lib/jcore.jar and b/lib/jcore.jar differ