Results 1 to 4 of 4

Thread: about Ant

  1. #1
    sireesha is offline Member
    Join Date
    Nov 2007
    Posts
    50
    Rep Power
    0

    Question about Ant

    Hi Every One,
    I am learning Spring and Hibernate. But when i saw tutorial for those topics i noticed that they are using Ant in that.I have downloaded Ant1.7.0.I have some doubts about it.
    1.What is the use of Ant ?
    2.How to know its working or not ?
    3.Do i need to write any special files to work with ant ?
    For example, i have some folder Project1 with some files like
    Helloworld1.java and HelloWorld2.java
    In this situation how to work with ant.
    Can any one please help me in understanding this.

    Thank q very much,
    sireesha.

  2. #2
    gogoc is offline Member
    Join Date
    May 2008
    Posts
    21
    Rep Power
    0

    Default

    Apache Ant is a software tool for automating software build processes. It is similar to make but is written in the Java language, requires the Java platform, and is best suited to building Java projects.
    get new coding problems at CODERWORDS

  3. #3
    sireesha is offline Member
    Join Date
    Nov 2007
    Posts
    50
    Rep Power
    0

    Default

    Hi,
    I have installed ant.After that when i tried to run ant command at command line like

    Java Code:
    C:\>ant
    then i got an error like below
    Java Code:
    Unable to locate tools.jar. Expected to find it in E:\Program Files\Java\jre1.6.
    0_05\lib\tools.jar
    Buildfile: build.xml does not exist!
    Build failed
    Can anybody tell me what's wrong ?

    Thank q very much,
    sireesha.

  4. #4
    gogoc is offline Member
    Join Date
    May 2008
    Posts
    21
    Rep Power
    0

    Default

    you need to provide a build file to and which tells ant what to do
    check this out
    sorry i cant post link yet
    get new coding problems at CODERWORDS

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •