Added Disnix SOAP service

svn path=/nixpkgs/trunk/; revision=12291
This commit is contained in:
Sander van der Burg 2008-07-06 21:38:34 +00:00
parent 4a245ea99c
commit 4987da9c2b
2 changed files with 37 additions and 0 deletions

View File

@ -0,0 +1,19 @@
source $stdenv/setup
cp -av $src/* .
find . -type f | while read i
do
chmod 644 "$i"
done
find . -type d | while read i
do
chmod 755 "$i"
done
export AXIS2_LIB=$axis2/share/java/axis2
ant generate.library.jar
ant generate.service.aar
ensureDir $out/shared/lib
cp *.jar *.so $out/shared/lib
chmod 755 $out/shared/lib/*.so
ensureDir $out/webapps/axis2/WEB-INF/services
cp DisnixService.aar $out/webapps/axis2/WEB-INF/services

View File

@ -0,0 +1,18 @@
{stdenv, fetchsvn, jdk, apacheAnt, axis2}:
stdenv.mkDerivation {
name = "DisnixService-0.1";
src = fetchsvn {
url = https://svn.nixos.org/repos/nix/disnix/DisnixService/trunk;
md5 = "946fe0a6a5aa1add8e71c1f1b04c6a6b";
rev = 12289;
};
buildInputs = [ jdk apacheAnt axis2 ];
builder = ./builder.sh;
inherit axis2;
meta = {
license = "LGPL";
};
}