[ ! -f "${1}" ] && echo "$0: missing archive as argument." && exit 1;
[ -d ./ear ] && rm -fr ./ear
mkdir ear
cd ear
CWD=`pwd`
unzip ../${1}
unzip *.ear
mkdir sar par lib bar
cd $CWD/par
[ -f ../*.par ] && unzip ../*.par
cd $CWD/sar
[ -f ../*.sar ] && unzip ../*.sar
cd $CWD/bar
[ -f ../be.jar ] && unzip ../be.jar
cd $CWD/lib
[ -f ../lib.zip ] && unzip ../lib.zip
Rants and ravings of a semi-autistic developer who has a hard time remembering idiotic nonsense details. Why remember it, when you know where to find it.
Friday, May 13, 2016
Inspecting TIBCO BE and BW ear files after build ear or studio tools
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment