git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1452171 13f79535-47bb-0310-9956-ffa450edef68master
@@ -88,8 +88,8 @@ Note: This document was updated in the context of releasing Ant 1.7. | |||||
on the branch. It is important that this be a clean build. Label this with | on the branch. It is important that this be a clean build. Label this with | ||||
a tag ANT_170_B1. | a tag ANT_170_B1. | ||||
The file release.sh gives an idea of how to do this build process, | |||||
currently in two steps, one with JDK 1.4 and one with JDK 1.5 | |||||
The file release.sh gives an idea of how to do this build process. | |||||
buid.xml specifies that the code should be compiled with source=1.5 and target=1.5. | |||||
C:\dev\asf\ant-core> | C:\dev\asf\ant-core> | ||||
svn copy https://svn.apache.org/repos/asf/ant/core/trunk \ | svn copy https://svn.apache.org/repos/asf/ant/core/trunk \ | ||||
@@ -30,16 +30,6 @@ case "`uname`" in | |||||
MINGW*) mingw=true ;; | MINGW*) mingw=true ;; | ||||
Linux) linux=true ;; | Linux) linux=true ;; | ||||
esac | esac | ||||
# running first build under JDK 1.4 under cygwin | |||||
if $cygwin ; then | |||||
export JAVA_HOME=/cygdrive/c/j2sdk1.4.2_19 | |||||
export PATH=$JAVA_HOME/bin:$PATH | |||||
echo ANT_HOME=$ANT_HOME | |||||
echo JAVA_HOME=$JAVA_HOME | |||||
which java | |||||
echo running first build under JDK 1.4 | |||||
./build.sh | |||||
fi | |||||
if $cygwin ; then | if $cygwin ; then | ||||
export JAVA_HOME="/cygdrive/c/Program Files/Java/jdk1.5.0_22" | export JAVA_HOME="/cygdrive/c/Program Files/Java/jdk1.5.0_22" | ||||
JDK_VERSION=1.5 | JDK_VERSION=1.5 | ||||