From 66185fd7217be481f27e0a730e53c49ad5ac8239 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Thu, 8 Oct 2015 17:56:44 +0200 Subject: [PATCH] dist.sh is now generic and can be easily distributed. You should now use it for EJB projects as the EJB jar will be copied to (my system specs, will be improved later on) a Glassfish domain's "lib" directory. I do this here for easy local deployment (not in-place). MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit updated jar(s) Signed-off-by: Roland Häder --- dist.sh | 20 +++++++++++++++++--- lib/jcontacts-core.jar | Bin 18101 -> 18101 bytes lib/jcore.jar | Bin 13656 -> 13656 bytes 3 files changed, 17 insertions(+), 3 deletions(-) diff --git a/dist.sh b/dist.sh index 1157d4e..f48251e 100755 --- a/dist.sh +++ b/dist.sh @@ -1,9 +1,23 @@ #!/bin/sh -NAME="jcore-swing" +NAME="${PWD##*/}" +DIST="dist/${NAME}.jar" LIST=`find ../*/lib/${NAME}.jar` +LIST="${LIST} `find ../*/*-ejb/lib/${NAME}.jar`" +LIST="${LIST} ${HOME}/gf_domains/domain1/lib/" -for entry in ${LIST}; +for target in ${LIST}; do - cp -v dist/${NAME}.jar ${entry} + if [ ! -f "${DIST}" ] + then + echo "$0: '${DIST}' not found." + elif [ -d "${target}" ] + then + cp -v "${DIST}" "${target}" + elif [ -f "${target}" ] + then + cp -v "${DIST}" "${target}" + else + echo "$0: Target '${target}' not found." + fi done diff --git a/lib/jcontacts-core.jar b/lib/jcontacts-core.jar index 277a9e3c610104bbc03f6140a90767544fb7207e..898c175d69c00f67fac9157914c6c7133158e313 100644 GIT binary patch delta 199 zcmdnm%eb|dkte{LnT3mifrEizN8dyqO{VRA6U`Se0ogYdK;&;tAURo$(HKNUGg^bF z8H`RK>JFnFklHN6#L5Pul{pL*L3EhrS1u6kYciD+L_e|J!2+Zw&vUW_8b0}^lLLq+ z?Q8&|e4Q;pREM)Oh&t=+4Wgu6ffa{0$PBtj1^zqM{kCLDURJ zClGaq(GEy$mSJLL1JTMHhKe9MO!F%ji1sy^$_b*M*zRCq3h$ge&&d+VoqW^D0YphV z8-OTZXRu(0vonZy*4Z0GNx1}ps5}=x5Vg-G0z^r;#(=0Y*EkS$%{3WBS-VvM0Hy0f AU;qFB diff --git a/lib/jcore.jar b/lib/jcore.jar index d22a62f2ad913d7bf31a70afd98cbb99f167edcf..b3bed2d5841c6440f4bffbf90de0469d878a9957 100644 GIT binary patch delta 371 zcmcbSbt8)>z?+$ci-CcIfni(UL>^71t$h>C7cc?YHx)qSZ%rUMS&dO2M1?b2gD4Ir z)yW1d?2`{La)G#K7_A_pW+2Le$s9ygGC2dO&HI>6@qp+qeh(%PeMRs#BZ%H8`~*x- z7k$AD;x|fO2lJz(Rlw>RWV^sLk3s;Lj#JtVmX}uX1Jl{6DQqBp7qzE>_>(hrErBkd zyhPUl#CxV|0HP%HEJ0MTo;`?~qUQ~w9_qP)C{2AY2v276M13s~bFaQTh+;Dc22s%l z5g=--K{$xwGmHUIIfe-!>YQO1h*C2O0#Q{)1t98;Q8tK*G|mB0$Bn^Cz?+$ci-CcIfg!YWB9A6hNasZJ1t9XK0*L$#5}B;Vs1KsT8LdGS2b1b# z0~Yql2N=0P+%t?;5K%J_<-lYPqAHo3fz;-GOs9B2bQiw|6NtVdc$*PKZxnt4rl*U( zU