diff options
author | Sander van der Burg <s.vanderburg@tudelft.nl> | 2009-10-13 13:21:51 +0000 |
---|---|---|
committer | Sander van der Burg <s.vanderburg@tudelft.nl> | 2009-10-13 13:21:51 +0000 |
commit | 223789d4118e3feccb5e88faa54f3ed3567e633c (patch) | |
tree | cf5a10100a0ba87a3d6b39ca1497e17e028253e6 /pkgs/servers | |
parent | 37a65be4ffbf7b046320515ec3c8bd2f05821ca4 (diff) | |
download | nixlib-223789d4118e3feccb5e88faa54f3ed3567e633c.tar nixlib-223789d4118e3feccb5e88faa54f3ed3567e633c.tar.gz nixlib-223789d4118e3feccb5e88faa54f3ed3567e633c.tar.bz2 nixlib-223789d4118e3feccb5e88faa54f3ed3567e633c.tar.lz nixlib-223789d4118e3feccb5e88faa54f3ed3567e633c.tar.xz nixlib-223789d4118e3feccb5e88faa54f3ed3567e633c.tar.zst nixlib-223789d4118e3feccb5e88faa54f3ed3567e633c.zip |
Cleaned the expression of tomcat a bit
svn path=/nixpkgs/trunk/; revision=17777
Diffstat (limited to 'pkgs/servers')
-rw-r--r-- | pkgs/servers/http/tomcat/axis2/builder.sh | 8 | ||||
-rw-r--r-- | pkgs/servers/http/tomcat/axis2/default.nix | 6 |
2 files changed, 6 insertions, 8 deletions
diff --git a/pkgs/servers/http/tomcat/axis2/builder.sh b/pkgs/servers/http/tomcat/axis2/builder.sh index fa58a9e5292b..91d300822a77 100644 --- a/pkgs/servers/http/tomcat/axis2/builder.sh +++ b/pkgs/servers/http/tomcat/axis2/builder.sh @@ -1,14 +1,14 @@ -buildInputs="$unzip $apacheAnt $jdk" source $stdenv/setup unzip $src cd axis2-* -ensureDir $out/share/java/axis2 -cp lib/* $out/share/java/axis2 +ensureDir $out +cp -av * $out cd webapp ant +cd .. ensureDir $out/webapps -cp ../dist/axis2.war $out/webapps +cp dist/axis2.war $out/webapps cd $out/webapps mkdir axis2 cd axis2 diff --git a/pkgs/servers/http/tomcat/axis2/default.nix b/pkgs/servers/http/tomcat/axis2/default.nix index 6e0cad66e49c..c35295245756 100644 --- a/pkgs/servers/http/tomcat/axis2/default.nix +++ b/pkgs/servers/http/tomcat/axis2/default.nix @@ -1,15 +1,13 @@ {stdenv, fetchurl, apacheAnt, jdk, unzip}: stdenv.mkDerivation { - name = "axis2-1.5"; - builder = ./builder.sh; - src = fetchurl { url = http://apache.mirror.easycolocate.nl/ws/axis2/1_5/axis2-1.5-bin.zip; sha256 = "0f0a471xfsjx7s3i9awhajl1kli8y8pd8aiki7cwb9n4g467rwmc"; }; - inherit apacheAnt jdk unzip; + buildInputs = [ unzip apacheAnt jdk ]; + builder = ./builder.sh; } |