nixpkgs/pkgs/development/tools/build-managers/apache-ant/builder.sh
Martin Bravenboer 4c70ef7e5d Cleaning up the java naming conventions
svn path=/nixpkgs/trunk/; revision=3871
2005-09-17 23:58:51 +00:00

18 lines
264 B
Bash

. $stdenv/setup || exit 1
mkdir -p $out/bin || exit 1
cat >> $out/bin/ant <<EOF
#! /bin/sh
export JAVA_HOME=$jdk
export JAVACMD=$jdk/bin/java
export ANT_OPTS=""
export ANT_ARGS=""
export LANG="en_US"
$ant/bin/core-ant \$@
EOF
chmod a+x $out/bin/ant || exit 1