From 8c1f065056295509f1147629eb838a4805a80fe5 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Fri, 19 Feb 2016 15:07:40 +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/jcontacts-core.jar | Bin 21062 -> 21062 bytes lib/jcountry-core.jar | Bin 6761 -> 6761 bytes lib/jphone-core.jar | Bin 25391 -> 25391 bytes lib/juser-core.jar | Bin 29575 -> 29575 bytes 5 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/jcontacts-core.jar b/lib/jcontacts-core.jar index b6a86f10c9a1cbd067c7d31d56e7d9485b2ab9bb..de34663934d4afab6ed63fd6a5ed0d22f6e5169a 100644 GIT binary patch delta 1410 zcmZWpTWnNS6kU7n+_ZE~17q8%K(UonJG3)%+o=k{5J3H46xt3|Fi@z4Ohgfbtw@WM z`leN@z($eyK~0E(#A@m!=m#c3rI=D4BCT44j;|f1}%HTPKFEFcp&)?B+iJ81QbnYG85;X-5nH6WKzR4=)XW*fVk<{NvC=4hLo z=7~+n6lcM{vjNpztY|?4;D_3pTsGJ&v07dS6ou~ z4Zka##n%ewa9-gE`V@}hQ-wn~tk8>36priQ6I$kToKYCWkiuWuyMiG?DK{)E? z8;i=UZ}2U56$SG*qFG_HPV*@|t?)8B6}DkJj}%=`&3vV3Gi^<7xbY~pIq;xPzI&Un z9uF?V8mxpD^{eq18kU0+ScOJ3Y5eg7HsA@NiZ%#~0TjbRi}+@Li8xCWxF4HP>k2;U z3VL)R>4-eBwGt)Awc?=|+8!R|NITP<8zg#6HBD~Q%&*zUVz8nR|5R&yHoj zS^$~VIPU*+pT9;}rkf^TQ(C&7b~o1!p-7=G;w6!n&ZZ;AmG+7jeRZ@l>3fg;#vkT=|r-F%|BBQVdR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WS@HsMY0Yf&s;#N1Ga4& diff --git a/lib/jcountry-core.jar b/lib/jcountry-core.jar index 10b7658c78eec2a4b565bd8261d9a6ca88ff26d7..83d819e411c91323325ff9272829a572f6e94024 100644 GIT binary patch delta 140 zcmaE9^3sGiz?+$ci-CcIf#F0&@I+n>=Ho!hVm>p7cS{~j{m}qXlhqjw!E`jE8HnCI zg^`H`%$UhKUkEH?EnxxDKDkW79?ah%p%12C0mVTks7gA5=}bvCFuh4K7)*0WB?16_ CA~H4r delta 140 zcmaE9^3sGiz?+$ci-CcIfg!ZoeKn9mI2-I51We>6bUWOYVEFdfZk2BJ4l zVPs+fGiI{R7Xr&zOIU!kPcDs*;XiI#bdOOmC752Gbl;i2#*Q BD)s;X diff --git a/lib/jphone-core.jar b/lib/jphone-core.jar index f9d636110f1e5ab67a201fd1a7de047651ec31e2..ccc6f060b6cf0635983350e4184507548d6a8f8d 100644 GIT binary patch delta 358 zcmZ2~jB))jM&1B#W)?061`Y;>Qx(Azc{P|%0x666%pl$^c`)@y14K<$XVeGNk&HHA zdIqB#n10CU0H#%#T)}h>lLwgI&SV9mH-BMzzyxMoXWb?YW=xQDhKO8~&R_(KILgWj zf*FZ=jS!Ki`jt=-M;jrq)Pi7NW-#MJ*fkaqWAe#p3y^asv&7hg`ED@~7goerfccxD z;$LHYz@M`~wyc*15K+0l1Gl+Lf9!&kw08x|G8TG+*B%=+O zp26q_rXMmofN2#bS1_H!C)Gg*P?&0m-vFo7A@S+@y;851O(AtKkLGZ?`ljekD}I(MAX?wIJA+8O-<)c8vwZn0zwY0_5DuEHUFw^(~lGL!E|U6gnuw84**O`e2M@7 diff --git a/lib/juser-core.jar b/lib/juser-core.jar index 8769dc941f2dabd69877256e0387c5812e3c76fb..7fd7b5cd7454585e160634f70118afc2f66a503b 100644 GIT binary patch delta 663 zcmZpF&e;B(kvG7bnT3mifrEkJY(?-yUJd3mK+0l1Gl+Lf9!&kw08x|G8I8bn45JO0 zp3Ue4rXMg`f@v8hdoUfxqWL)^u7toCVBKm9c;@5)_OejHxP_5Q7;t)9TJQm)Ad0rCo5+_f-f!u65NY3e8A$LGJ?Rgd!{Fto}B3q zrk`epfoZ!eUohR5n14O55=;l@mxAfj`59o^te^l)uPn#`(-MV+V7jL;228&$3~I~!fs%L1;n{0f6$SeTqVOlIYwjG<}*5LA?DWTo5+C8-R!-H70ieTJj?-R$VJVC zcwt|{W-w!NNxB6n>?f~JhXmutbbXM@$;ug!;ET(E1oz?$AF%kRj36-Wp6LmuCujPD z>8F`tVA?Lr7fknMc|iHnlfPs^qEItC3M|%^9RjBBW~YH^x1206y*UTMm&r{A^P6(> z!Soj>otBpe=3mdN1k=I!rC|DWeg>E}D<}ZdD+_YKv_xScnC>Zz0n@Jw!@;y`5rn^_ LC>zWdDlP>86=2-g -- 2.39.5