SE450: Ant: Setup [18/41] Previous pageContentsNext page

Ant is a command line tool, although it has been integrated with numerous IDEs. Since we are using the command line, it will fit in well with our development environment.

Once Ant has been extracted, you will need to setup your environment to run from the command line properly. This will involve setting the PATH and ANT_HOME environment variables.

From the command line:

On Windows:

        set ANT_HOME=C:\jakarta-ant-1.5.1
        set PATH=%PATH%;%ANT_HOME%\bin
        
On Unix (bash):
        export ANT_HOME=/usr/local/jakarta-ant-1.5.1
        export PATH=$PATH:$ANT_HOME/bin
        

Previous pageContentsNext page