depot/third_party/nixpkgs/pkgs/servers/http/tomcat/axis2/builder.sh

17 lines
248 B
Bash
Raw Normal View History

if [ -e .attrs.sh ]; then source .attrs.sh; fi
source $stdenv/setup
unzip $src
cd axis2-*
mkdir -p $out
cp -av * $out
cd webapp
ant
cd ..
mkdir -p $out/webapps
cp dist/axis2.war $out/webapps
cd $out/webapps
mkdir axis2
cd axis2
unzip ../axis2.war