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:
parent
7608d6f063
commit
c282368077
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue