Monday, September 7, 2009

Samantha Anderson 38gg

Installing Ant on Windows

Installing Ant using binary and sources in Windows.
Ant, is available in binary format than in source for Windows . E 'possible to make the download in Zip format . Prerequisite, as for the Unix environments, and 'the presence of of JDK version higher than 1.2. The installation procedure is the same as that in * nix environment.

E 'should be noted that on some systems which Windows 95, Windows 98 and Windows ME, you may experience problems if the variable ANT_HOME uses the long filename format, it is therefore necessary to use the old form "8.3" when you choose the directory in which to install the tool.

and OPTIONAL TASK ENVIRONMENT VARIABLES
As in Unix, when using the optional task, you must install the related JAR libraries, installed in the lib directory or suitably setting the environment variable CLASSPATH so ant to know where to find them. Even under Windows, you must set ANT_HOME and JAVA_HOME :
C: \\> September ANT_HOME = c: \\ ant
C: \\> September JAVA_HOME = c: \\ java
C: \\> ; set PATH =% PATH%% ANT_HOME% \\ bin

Depending on the system used, do not type each session, you can enter in file c: \\ autoexec.bat or through My Computer-> Properties Advanced tab and then Environment Variables button.

0 comments:

Post a Comment