3
0
Fork 0
forked from mirrors/nixpkgs

Added shared JDBC driver support for tomcat

svn path=/nixpkgs/trunk/; revision=12476
This commit is contained in:
Sander van der Burg 2008-08-04 12:04:24 +00:00
parent b23b849ba3
commit 6dd7896b4e
3 changed files with 17 additions and 0 deletions

View file

@ -0,0 +1,4 @@
source $stdenv/setup
ensureDir $out/shared/lib
ln -s $mysql_jdbc/share/java/mysql-connector-java.jar $out/shared/lib/mysql-connector-java.jar

View file

@ -0,0 +1,9 @@
{ stdenv, tomcat6, mysql_jdbc }:
stdenv.mkDerivation {
name = "tomcat-mysql-jdbc";
builder = ./builder.sh;
buildInputs = [ mysql_jdbc ];
inherit mysql_jdbc;
}

View file

@ -4641,6 +4641,10 @@ let pkgs = rec {
inherit fetchurl stdenv jdk;
};
tomcat_mysql_jdbc = import ../servers/http/tomcat/jdbc/mysql {
inherit stdenv tomcat6 mysql_jdbc;
};
axis2 = import ../servers/http/tomcat/axis2 {
inherit fetchurl stdenv jdk apacheAnt unzip;
};