Play with Lucene - Inatalling Ant

  • Download Apache Ant Binaries from this page. This is a direct link to the zip file of Ant-1.7.0 from one of the mirrors.
  • Extract the contents of this zip file into c:\ant (This tutorial assumes this path, you may use any path of your choice). After this step, you should have the bin, docs, lib etc folders in the c:\ant directory. This is where your Ant installation will reside.
  • Now you need to tell your computer that you have the Ant directory ready and you want to start using it. To do this, you need to set the following three variables in your environment:
  1. JAVA_HOME - This is where your JDK resides. (eg. c:\Program Files\Java\jdk1.6.2_02).
  2. ANT_HOME - This is where your un-zipped Ant directory resides. (eq. c:\ant)
  3. PATH - You need to tell your OS to also look for executable files in the the ant/bin directory when you type a command on the command prompt. This is important if you do not want to type the complete path of your ant executable file everytime you want to run it. (eg. %ANT_HOME%\bin;%PATH%)

To do this on Linux, you need to use the export command to set/update these variables. On Windows, right click on “My Computer” and go to Properties>Advanced>Environment Variables.

And you are done with your Ant Installation.

Now you are ready to play around with the Lucene Code and building it.

Bookmark this post: technorati Play with Lucene - Inatalling Ant delicious Play with Lucene - Inatalling Ant stumbleupon Play with Lucene - Inatalling Ant digg Play with Lucene - Inatalling Ant facebook Play with Lucene - Inatalling Ant yahoo Play with Lucene - Inatalling Ant google Play with Lucene - Inatalling Ant magnolia Play with Lucene - Inatalling Ant reddit Play with Lucene - Inatalling Ant windowslive Play with Lucene - Inatalling Ant

Tags: , , ,

Related posts

0 Responses to “Play with Lucene - Inatalling Ant”


  1. No Comments

Leave a Reply




/kapil/blog is Digg proof thanks to caching by WP Super Cache!