]> git.mxchange.org Git - jcustomer-lib.git/commitdiff
Cotinued:
authorRoland Häder <roland@mxchange.org>
Mon, 18 Apr 2016 14:23:21 +0000 (16:23 +0200)
committerRoland Häder <roland@mxchange.org>
Mon, 18 Apr 2016 14:23:21 +0000 (16:23 +0200)
- updated dist.st: skip wild-fly creation if path not found
- updated jar(s)

dist.sh
lib/jcore.jar
lib/jcoreee.jar
lib/jcustomer-core.jar

diff --git a/dist.sh b/dist.sh
index 54fcb45ee6d5934048cb19c4ca4aff6d565785a4..b74103bd5ef8d1d60f12bf88c5dd2ac62f89c63b 100755 (executable)
--- a/dist.sh
+++ b/dist.sh
@@ -29,7 +29,6 @@ PERSONAL_DOMAIN_PATH="${HOME}/personal_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}" ]
@@ -38,12 +37,6 @@ then
        LIST="${LIST} ${GLASSFISH_BASE_PATH}"
 fi
 
-if [ -d "${PERSONAL_DOMAIN_PATH}" ]
-then
-       echo "$0: Personal domain found, adding to LIST ..."
-       LIST="${LIST} ${PERSONAL_DOMAIN_PATH}"
-fi
-
 if [ ! -f "${DIST}" ]
 then
        echo "$0: '${DIST}' not found."
@@ -51,12 +44,17 @@ then
 elif [ ! -d "${WILDFLY_MODULE_BASE_PATH}" ]
 then
        echo "$0: WildFly base path '${WILDFLY_MODULE_BASE_PATH}' not created."
-       exit 1
 elif [ ! -d "${WILDFLY_MODULE_PATH}" ]
 then
        mkdir -vp "${WILDFLY_MODULE_PATH}"
 fi
 
+if [ -d "${PERSONAL_DOMAIN_PATH}" ]
+then
+       echo "$0: Personal domain found, copying file '${DIST}' ..."
+       cp -v "${DIST}" "${PERSONAL_DOMAIN_PATH}"
+fi
+
 for project in ${LIST};
 do
        if [ -d "${project}" ]
@@ -71,7 +69,7 @@ do
 
 done
 
-if [ -n "${GLASSFISH_SSH_PATH}" -a -n "${GLASSFISH_SSH_SERVER}" ]
+if [ "$1" != "r" -a -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}"
index 30db7611e926667db756767de63cbcfbb784f996..87ed9490b120dc2fe98f03fd36e74bd541ee541f 100644 (file)
Binary files a/lib/jcore.jar and b/lib/jcore.jar differ
index bf510f6b3a31aa5760af4d6b2b2bbef9b5f88e4f..4dc8393e1ba1feb3d6be7b2e89a27b2f2b69ae77 100644 (file)
Binary files a/lib/jcoreee.jar and b/lib/jcoreee.jar differ
index f1e58892d207af69ee8568990ad583f27799040b..4325c3e4e16e34487272ef8c79f69f6ba9a92235 100644 (file)
Binary files a/lib/jcustomer-core.jar and b/lib/jcustomer-core.jar differ