nixpkgs/pkgs/development/tools/build-managers/apache-ant/builder.sh
Martin Bravenboer 3f371bfacf Improved Ant
svn path=/nixpkgs/trunk/; revision=1254
2004-08-09 21:28:26 +00:00

18 lines
268 B
Bash

. $stdenv/setup || exit 1
mkdir -p $out/bin || exit 1
cat >> $out/bin/ant <<EOF
#! /bin/sh
export JAVA_HOME=$j2sdk
export JAVACMD=$j2sdk/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