From bfd34384696d021a58ce3697bb00e1a5eadeed95 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Thu, 8 Oct 2015 17:56:50 +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 | 19 ++++++++++++++++--- lib/jcore.jar | Bin 13656 -> 13656 bytes lib/jcoreee.jar | Bin 17973 -> 17973 bytes lib/jshop-core.jar | Bin 48616 -> 48616 bytes 4 files changed, 16 insertions(+), 3 deletions(-) diff --git a/dist.sh b/dist.sh index f58ac6e..f48251e 100755 --- a/dist.sh +++ b/dist.sh @@ -1,10 +1,23 @@ #!/bin/sh -NAME="jshop-ee-lib" +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/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#JtV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