mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 05:33:23 +00:00
c556a6ea46
function, so obsolete it. svn path=/nixpkgs/branches/stdenv-updates/; revision=31644
28 lines
405 B
Bash
Executable File
28 lines
405 B
Bash
Executable File
source $stdenv/setup
|
|
|
|
export JAVA_HOME=$jre
|
|
|
|
cat >> props <<EOF
|
|
output.dir=$out
|
|
context.javaPath=$jre
|
|
EOF
|
|
|
|
mkdir -p $out
|
|
$jre/bin/java -jar $src -text props
|
|
|
|
echo "Removing files at top level"
|
|
for file in $out/*
|
|
do
|
|
if test -f $file ; then
|
|
rm $file
|
|
fi
|
|
done
|
|
|
|
cat >> $out/bin/aj-runtime-env <<EOF
|
|
#! $SHELL
|
|
|
|
export CLASSPATH=$CLASSPATH:.:$out/lib/aspectjrt.jar
|
|
EOF
|
|
|
|
chmod u+x $out/bin/aj-runtime-env
|