From 928372cd753c8173b815b286a817f58aa3c38992 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Fri, 19 Feb 2016 15:07:46 +0100 Subject: [PATCH] Updated jar(s) MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- dist.sh | 57 ++++++++++++++++++++++++++++++++++++++++----- lib/jcore.jar | Bin 13656 -> 13656 bytes lib/jcoreee.jar | Bin 18591 -> 18591 bytes lib/jshop-core.jar | Bin 49000 -> 49000 bytes 4 files changed, 51 insertions(+), 6 deletions(-) diff --git a/dist.sh b/dist.sh index f48251e..a0a77ed 100755 --- a/dist.sh +++ b/dist.sh @@ -1,17 +1,50 @@ -#!/bin/sh +#!/bin/bash +# Name of this project, detected by it's base path NAME="${PWD##*/}" + +# Generated JAR file DIST="dist/${NAME}.jar" + +# WildFly module base path +WILDFLY_MODULE_BASE_PATH="${HOME}/wildfly_domain/modules/org/mxchange" + +# And for this "module" (as WildFly calls it) +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} ${HOME}/gf_domains/domain1/lib/" +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." + exit 1 +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 for target in ${LIST}; do - if [ ! -f "${DIST}" ] - then - echo "$0: '${DIST}' not found." - elif [ -d "${target}" ] + if [ -d "${target}" ] then cp -v "${DIST}" "${target}" elif [ -f "${target}" ] @@ -21,3 +54,15 @@ do echo "$0: Target '${target}' not found." fi done + +# Copy module.xml ... +if [ -f "${WILDFLY_MODULE_XML_FILE}" ] +then + echo "$0: Generating module.xml ..." + XML_CONTENT=`cat "${WILDFLY_MODULE_XML_FILE}"` + XML_CONTENT="${XML_CONTENT//NAME/$NAME}" + echo "${XML_CONTENT}" > "${WILDFLY_MODULE_PATH}/module.xml" +fi + +echo "$0: All done." +exit 0 diff --git a/lib/jcore.jar b/lib/jcore.jar index 658854d4dcbdceca018177f9d92eeb1ef2778f37..a2972e6fc4702d5293d1c0b46b2a83acd92d9b29 100644 GIT binary patch delta 415 zcmcbSbt8*6z?+$ci-CcIf#Fz1@I+n>=A%H$Vm>p7cS{~j{m}qXlhqmZz;pzo6`1B^ zQkiVP!an%`BNv!|meCR_ZVILynasd+6_XQ)-n^gbBoCO;&F{_xW?U7##Rz6>5`GL} z%n*If3>ImUyao}8mR5!+Zj|kWFnAUGA&hvXT@W=gD!vd#j%qR+So2^e=Cd0Ff$127 za4@~iAPh|N8%BfaT*G)Uecmt>Osg9Og6V3bd@%jiC<{zS8E1p(6UGpA3MLSBB_m{20QR zA^MydEYc)-4I&aPtqf7zDBB5P@GAI281YKGAZlb(d?Ab+)nqoX_DkAR8JU3|nw+I; z0TP(JRM#F%KiAa<(~^1+@en;bFn_9^7npve=L)8^^gY3JnLdQSPu~s9XEz7}(=i6& zV0xQD7?|caj0V%WhVfwfykRJqRyPU+)73`#VEV057MPAQ&IZ#bj3Me2Od#q?Od#?P GP09f}2!@{k diff --git a/lib/jcoreee.jar b/lib/jcoreee.jar index 04245e48b4ed18906fe0e1e065f5f1bc39892333..8fa7868d036fb8592e8acfcd35cc661720d5984d 100644 GIT binary patch delta 410 zcmbO~k#YV+M&1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