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

16 lines
271 B
Bash
Raw Normal View History

buildInputs="$unzip $apacheAnt $jdk"
source $stdenv/setup
unzip $src
cd axis2-*
ensureDir $out/share/java/axis2
cp lib/* $out/share/java/axis2
cd webapp
ant
ensureDir $out/webapps
cp ../dist/axis2.war $out/webapps
cd $out/webapps
mkdir axis2
cd axis2
unzip ../axis2.war