diff --git a/java/build_ant.sh b/java/build_ant.sh index c641d6e..89920c7 100755 --- a/java/build_ant.sh +++ b/java/build_ant.sh @@ -13,6 +13,11 @@ tar xf "$dir_download/apache-ant-$version_ant-src.tar.bz2" cd "apache-ant-$version_ant" patch -p1 -i "$dir_files/apache-ant-1.9.16-fix-java4.patch" +# Avoid weird out-of-memory error on a modern minipc of mine... +sed -e '//d' \ + -e '/tstamp>/d' \ + -i build.xml + # Build and install unset JAVAC JAVACMD CLASSPATH export JAVA_HOME="$PWD/../install-gcc/lib/jvm"