1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-20 04:31:52 +00:00

Some tomcat common lib fixes

svn path=/nixpkgs/trunk/; revision=12510
This commit is contained in:
Sander van der Burg 2008-08-06 13:25:51 +00:00
parent 7608d6f063
commit c282368077
2 changed files with 4 additions and 3 deletions

View file

@ -4,4 +4,5 @@ tar zxf $src
mkdir $out
mv apache-tomcat*/* $out
sed -i -e 's|shared.loader=|shared.loader=${catalina.base}/shared/lib/*.jar|' $out/conf/catalina.properties
sed -i -e 's|${catalina.home}|${catalina.base}|g' \
-e 's|shared.loader=|shared.loader=${catalina.base}/shared/lib/*.jar|' $out/conf/catalina.properties

View file

@ -1,4 +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
ensureDir $out/lib
ln -s $mysql_jdbc/share/java/mysql-connector-java.jar $out/lib/mysql-connector-java.jar