Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-28-2008, 09:58 PM
Member
 
Join Date: Nov 2007
Posts: 45
sireesha is on a distinguished road
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.
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 05-28-2008, 10:26 PM
Member
 
Join Date: May 2008
Posts: 21
gogoc is on a distinguished road
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
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 05-29-2008, 12:04 AM
Member
 
Join Date: Nov 2007
Posts: 45
sireesha is on a distinguished road
Hi,
I have installed ant.After that when i tried to run ant command at command line like

Code:
C:\>ant
then i got an error like below
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.
Bookmark Post in Technorati
Reply With Quote
  #4 (permalink)  
Old 05-29-2008, 12:16 AM
Member
 
Join Date: May 2008
Posts: 21
gogoc is on a distinguished road
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
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +3. The time now is 02:17 PM.


VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org