Added MySQL driver link to JBoss

svn path=/nixpkgs/trunk/; revision=10374
This commit is contained in:
Sander van der Burg 2008-01-29 11:11:26 +00:00
parent 293fdf9c5d
commit 28ab0dd501
3 changed files with 18 additions and 0 deletions

View file

@ -0,0 +1,5 @@
buildInputs="$mysql_jdbc"
source $stdenv/setup
ensureDir $out/server/default/lib
ln -s $mysql_jdbc/share/java/mysql-connector-java.jar $out/server/default/lib/mysql-connector-java.jar

View file

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

View file

@ -3168,6 +3168,10 @@ rec {
inherit fetchurl stdenv jdk5 jdk;
};
jboss_mysql_jdbc = import ../servers/http/jboss/jdbc/mysql {
inherit stdenv jboss mysql_jdbc;
};
jetty = import ../servers/http/jetty {
inherit fetchurl stdenv unzip;
};