|
@ -13,6 +13,11 @@ tar xf "$dir_download/apache-ant-$version_ant-src.tar.bz2" |
|
|
cd "apache-ant-$version_ant" |
|
|
cd "apache-ant-$version_ant" |
|
|
patch -p1 -i "$dir_files/apache-ant-1.9.16-fix-java4.patch" |
|
|
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 '/<format property="year" pattern="yyyy"\/>/d' \ |
|
|
|
|
|
-e '/tstamp>/d' \ |
|
|
|
|
|
-i build.xml |
|
|
|
|
|
|
|
|
# Build and install |
|
|
# Build and install |
|
|
unset JAVAC JAVACMD CLASSPATH |
|
|
unset JAVAC JAVACMD CLASSPATH |
|
|
export JAVA_HOME="$PWD/../install-gcc/lib/jvm" |
|
|
export JAVA_HOME="$PWD/../install-gcc/lib/jvm" |
|
|