I found the following quick instruction for installing ANT 1.7.0 on Windows XP.
I see the big problem here. Let’s say next year a new version of ANT 1.7.1 will be released with great improvement or weird bug fixes. What is the owner of manual above is going to do? I think the manual’s writer will just upgrade content of c:/ant/ folder with a new version, but what if new ANT 1.7.1 version will be not compatible with already existing ANT script, but in the same time you want to try a new version and migrate your script from ANT 1.7.0 to let's say ANT 1.8.0. In my case I still use ANT 1.6.5 for a few scripts, but would like to use ANT 1.7.0 for new ones. I posted my solution for installing ANT 1.7.0 on Windows XP below:
set ANT_HOME=F:\apps\apache-ant-1.7.0\ set PATH=%PATH%;%ANT_HOME%\bin
Of course as soon as you close the command prompt window you will lose the ANT_HOME value, but is still very convenient, because now you can jump between different versions on ANT without problems. You just need to install a new ANT release and create one more batch file. |
Friday, May 11, 2012
Installing ANT on Windows XP
########
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment