From da0ca35d73781c85f06e0c6a099b2b0f83305f0b Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Fri, 19 Feb 2016 14:28:38 +0100 Subject: [PATCH] WildFly branch created with initial scripts, but it doesn't load my libs. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- dist.sh | 48 ++++++++++++++++++++++++++++---- lib/jcontacts-business-core.jar | Bin 64576 -> 64576 bytes lib/jcontacts-core.jar | Bin 21062 -> 21062 bytes lib/jcore-logger-lib.jar | Bin 2533 -> 2533 bytes lib/jcore-swing.jar | Bin 6808 -> 6808 bytes lib/jcore.jar | Bin 13656 -> 13656 bytes lib/jcoreee.jar | Bin 18591 -> 18591 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 lib/juser-lib.jar | Bin 4033 -> 4033 bytes wildfly/module.xml | 10 +++++++ 12 files changed, 52 insertions(+), 6 deletions(-) create mode 100644 wildfly/module.xml diff --git a/dist.sh b/dist.sh index f48251e..db1768f 100755 --- a/dist.sh +++ b/dist.sh @@ -1,17 +1,41 @@ -#!/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" + +# 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 [ ! -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 +45,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-business-core.jar b/lib/jcontacts-business-core.jar index d98363aa1b2fda782f593d886c0bb21b4fa4646c..a430d248d52303effad1bb7e6484ceb4f9633150 100644 GIT binary patch delta 420 zcmX@`gZaP@W}X0VW)?061`Y;>C7Ba>G?^A>PBdS@1Z3Y-0Fl2nf#hU0Mr#n2%;*ZD zRxvt(sCSHRAj*u%1w_>_d4Q;6Ozt3xpVO9+UX`XvHHz5fypqCCC^fT&qt6F}6Tukj!%_FE2!I{hshL|J@K0a5e5 zgL&LPazVVRA88=!(T_|J<@+-UL~Z<83ZgWA<$SE&zJXR5VZv;2&CSB@&-{hpF=^^ ziOp|5M}=*1Vl~!5&@##e+dUs9$y1M)U2-wAnMQ8cn}r)EeAxM{+11*EWW3J zsCnPPJnkR4AYRpvG!XUZM<$5!{h0)!HvTLHQ5wJUK-7$1V3q8@GeEq;-(V$Ie`f;# DVK2q# diff --git a/lib/jcontacts-core.jar b/lib/jcontacts-core.jar index b6a86f10c9a1cbd067c7d31d56e7d9485b2ab9bb..8e6303e2ddb755381cb91cba61dbf34ade154fad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`izEk)fLkfRu>ner_#oY98KD+%M-cV3t z{frCTT@c9Gf;NTcuwCILo$GGAtne20@JPX}w4JXOY@^P^#yfhceI_id1F#;14RN&M zNi2p7OIooJk5*$7nwO&moAqBBB&x_3i98~!dija&DM!*EUX81<6-_HZaje2NJgvQ+ ziK89Qid3>mITy;A&xg*KP_dLy^)>C`~6} z%IR`)WsyjoZ{SU#^9%AN|0UK|eQ#y!Iy8 zw3*+H$ zhjfOP9_WuFA^Uw{j%bEmr4dT#inzKoV1Fq5M~3eZ{+Qvv7XG;KNyGcgBGha66=eat zPxyYr?<;eY)4yY7UiwNaEcx1WRs2tx*B%t*Y4(;+m5-^UJV<9ujJ4$fdsKGLnHWdQ z*ZD4B8vTMix`<-Bgjw_}9;Dy+o{B~GUr47b+)*)~uJK^SsiH2rr4?QCXmV=E$-A7U zXl}=iXHGv=eRuuoHg8t4@|{V>XsYgWS@HsMY0Yf&s;#N1Ga4& diff --git a/lib/jcore-logger-lib.jar b/lib/jcore-logger-lib.jar index a3fd54ebfe1d379768b5bdfc365d4e7a31ddd118..dc3f9a8d437c6008b3c353b647a8c26e9240854f 100644 GIT binary patch delta 172 zcmaDV{8X4Xz?+$ci-CcIfnh;rz(igR=D9%1Vm>p7cS{~j{m}qXlhql`z;ptm4Va$K z=me&pFnWUM%?3;cOkhSbOFoz}`6`6bUWOYU}FrC0?1E%LQ zI)UjYjGiERvjLL<6PS_Ak`HD~zRG3+GH$W}yFFNC5W7B@Zeh0o)BD-oz%&Pk510<; T2m;eVGVz?+$ci-CcIfnjB4z(igR<`qE7Vm>p7cS{~j{m}qXlhqlG!E`L66_}pI zXa}ZmGg^XaaVC2(9m(VlqBk#Q+QkHBB(Perff=*84>3YScpr0s7?a(^EI<}cZWM#) zJuIdV7XJzq2gw_VJA>&maW61^Slkaxi%58a=>!RXFuh4498B{_#)IiR$p|ogQZfWg ID@auU03VJ~o&W#< delta 238 zcmbPXI>VGVz?+$ci-CcIfg!Qle4Fg=UW z4ou%>v;@=QO!ig8VZ0=XmXaW z1xR4>QeAs6{ajZcOiSuP#6$G#!2GFtUSRr>o-3Hv()R?@W%>~QK7BVZpWPq`Ovf06 zgXwJsVPKlyFd9tf8pea^^M;{dTHPoROjjG_gXym{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..6192e2c6882097b222ac07c9be6300ef7b35c442 100644 GIT binary patch delta 410 zcmbO~k#YV+M&1B#W)?061`Y;>g_!{pc{P|904a<4%pl$^c`)@y14K<$XEXrQQH+*g zdK#k@n7+(t52jZ#8BCt7PuFVA_`19Yk+#XFksc zW<+wCaR>rMJZ1*nVwL7$U;tse$qyOTC+oRMP0p9+-26&Nh6k*cQ(m1F%rI7Q*})8VoBv>u$)1iDAg@hsafG<`n4>;O!Q>x6aS(0nkZS*lyc*2GK+0l1Gl+Lf9!&kw08x|G84bX66r&}W zp2lberY|$vgXxt_29xJIi*h5GH~A+}?7uVT{H@^~+;Q_1Vlvig3GmKRnxxtKb z{kJS&M!Lyeb}+-;=08|uvZtd3$ZL~Z93ief=BN)+F!={i97G#CIe_UhCr>ba$jJ*# z^E>;4=|tyPFn!QD5XzUHY~bPq6_cJk!Nm;BKIsw;rj=de!E~!@GMIktnhB=E-5S93 VEw>CX?do0zruVsLfoW}z5&%0-gnKn9mI2-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..26352e5761075ee19c6818ef14fb530c1bfb5ce0 100644 GIT binary patch delta 358 zcmZ2~jB))jM&1B#W)?061`Y;>#hC#Uc{P|90V#|5%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..c0e9b07e4cd4f9982cca0616147085ac84ddebb2 100644 GIT binary patch delta 663 zcmZpF&e;B(kvG7bnT3mifrEizS!TdQUJd4@K+0l1n7Snorv88hC#y3Wfw+@n7;V7x zY(^(A{eaODOv^CYgXuUXH!!`N$remMXR?6uH6~wB~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 diff --git a/lib/juser-lib.jar b/lib/juser-lib.jar index 707aac37274e4db8dde9ca049e4f016fd5c50d54..fd83c3b33161e15c0380ed3618d2b2595bfea34c 100644 GIT binary patch delta 205 zcmX>oe^8z`z?+$ci-CcIfni%_z(igR=B+@=Vm>p7cS{~j{m}qXlhqlGz;q0w1(=@B zXa}ZmFgk*1875m0y*Y-7ml@2+VP%If$~daQjLBcPEkNc^*5|PYYboT>2h)prAV%Kf maRT#|c|E{%9oe^8z`z?+$ci-CcIfg!rue6bUWOYU(Fdf5a0j8%j z+JWgCjE-PhhRGI0Z;oN&Wd<{HSlJ`br moWOi#UJo#x$Lj~C_wxpVX< + + + + + + + + + -- 2.39.5