nixpkgs/pkgs/servers/http/tomcat/axis2/builder.sh
Artturin c01f509e44 treewide: source .attrs in builders
if theres a source $stdenv then this is needed

for structuredAttrs
2022-12-08 21:09:02 +02:00

17 lines
248 B
Bash

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