3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/servers/http/jboss/builder.sh
Sander van der Burg 9b2f4c8522 Removed deploy sed instruction \(is obsolete\)
svn path=/nixpkgs/trunk/; revision=10308
2008-01-28 15:06:28 +00:00

16 lines
311 B
Bash

buildInputs="$jdk5"
source $stdenv/setup
export JDK_HOME=$jdk5
export JAVA_HOME=$jdk5
tar xfvz $src
cd jboss-*
cd build
sh build.sh
ensureDir $out
cp -av output/jboss-*/* $out
# Insert JAVA_HOME variable to make sure the latest JRE is used and not version 5
sed -i -e "/GREP/aJAVA_HOME=$jdk" $out/bin/run.sh