What is the Use of Apache Ant and CVS in the Java Development...?

Reply

Join Date: Jul 2005
Posts: 13
Reputation: gokul is an unknown quantity at this point 
Solved Threads: 0
gokul gokul is offline Offline
Newbie Poster

What is the Use of Apache Ant and CVS in the Java Development...?

 
0
  #1
Jul 30th, 2005
Hi,

i am heading to develop one chatting application in JMF with JAIN-SIP API.. In stead of refering some sites, they talked about Apache Ant and CVS... WHats that..?

for what purpose we need that in the Java Application Development..?

How to use that in that..?

i saw some reference files of Ant and CVS..
but i couldn't understand that..

pls help me..
Reply With Quote Quick reply to this message  
Join Date: Nov 2004
Posts: 6,145
Reputation: jwenting is just really nice jwenting is just really nice jwenting is just really nice jwenting is just really nice 
Solved Threads: 212
Team Colleague
jwenting's Avatar
jwenting jwenting is offline Offline
duckman

Re: What is the Use of Apache Ant and CVS in the Java Development...?

 
0
  #2
Jul 30th, 2005
Ant is a build tool, similar to what make does for C.
It helps automate builds, making them far easier to perform in a way that can be easily reproduced.
Little use if you have a few files, but when your project runs into the hundreds or thousands of files it gets very handy.
Plus it can help in building your jars for you and for automatically running your unit tests and reporting the results.

CVS is for version control of your sources. Makes it easy to store revisions both as a backup (if you do it on a different drive or machine) and to have access to historical versions (maybe if you need to revert to what you had yesterday because you made a serious blunder).

I use both a lot, and plan to integrate them even more so that I can have ant build a jar of my applications directly from CVS for example.
http://www.pragmaticprogrammer.com/ have excellent books.
Get their books on CVS and project automation, they'll open your eyes.
http://www.pragmaticprogrammer.com/s...uto/index.html
http://www.pragmaticprogrammer.com/s.../vc/index.html

EBook versions cost about $20 each, well worth the investment.
Paper versions cost a bit more, but less than printing the EBook yourself (for those who can wait for delivery or just don't like to read PDFs).
As people are clearly allowed to attack me but I'm not allowed to defend myself, I no longer post to this site.
Reply With Quote Quick reply to this message  
Join Date: Nov 2004
Posts: 6,145
Reputation: jwenting is just really nice jwenting is just really nice jwenting is just really nice jwenting is just really nice 
Solved Threads: 212
Team Colleague
jwenting's Avatar
jwenting jwenting is offline Offline
duckman

Re: What is the Use of Apache Ant and CVS in the Java Development...?

 
0
  #3
Jul 30th, 2005
Just an example of the usefulness of CVS:

Today I visited a friend and did some work there. I checked the changes into CVS from over there, and when I got back home I loaded my regular development tool (JBuilder) and ran an update of my project which instantly gave me all those changes on my local harddisk.
No more remembering which files to copy from one directory to another, that's all taken care of.
As people are clearly allowed to attack me but I'm not allowed to defend myself, I no longer post to this site.
Reply With Quote Quick reply to this message  
Join Date: Jul 2005
Posts: 55
Reputation: Sauce is an unknown quantity at this point 
Solved Threads: 0
Sauce Sauce is offline Offline
Junior Poster in Training

Re: What is the Use of Apache Ant and CVS in the Java Development...?

 
0
  #4
Jul 30th, 2005
CVS also has the ability of branching. In which 2 people can edit the same file at the same time. Then when you resubmit the file to the cvs server you are given the ability to merge your changes and the changes somebody else did together.
Reply With Quote Quick reply to this message  
Join Date: Jun 2004
Posts: 609
Reputation: freesoft_2000 is an unknown quantity at this point 
Solved Threads: 7
freesoft_2000 freesoft_2000 is offline Offline
Practically a Master Poster

Re: What is the Use of Apache Ant and CVS in the Java Development...?

 
0
  #5
Jul 31st, 2005
Hi everyone,

If you are doing a chatting program i don't think(someone correct me if i am wrong) you need ant or cvs. You simply need to use sockets

Richard West
Microsoft uses "One World, One Web, One Program" as a slogan.
Doesn’t that sound like "Ein Volk, Ein Reich, Ein Führer" to you, too?
— Eric S. Raymond

Tell me what type of software do you like and what would you pay for it

http://www.daniweb.com/techtalkforums/thread19660.html
Reply With Quote Quick reply to this message  
Join Date: Nov 2004
Posts: 6,145
Reputation: jwenting is just really nice jwenting is just really nice jwenting is just really nice jwenting is just really nice 
Solved Threads: 212
Team Colleague
jwenting's Avatar
jwenting jwenting is offline Offline
duckman

Re: What is the Use of Apache Ant and CVS in the Java Development...?

 
0
  #6
Jul 31st, 2005
Richard, Ant and CVS aren't programming APIS. They're tools to make your job easier.
Just like you can use notepad to write your code but it's a lot faster and more convenient to use vim or jEdit.
As people are clearly allowed to attack me but I'm not allowed to defend myself, I no longer post to this site.
Reply With Quote Quick reply to this message  
Join Date: Jun 2004
Posts: 609
Reputation: freesoft_2000 is an unknown quantity at this point 
Solved Threads: 7
freesoft_2000 freesoft_2000 is offline Offline
Practically a Master Poster

Re: What is the Use of Apache Ant and CVS in the Java Development...?

 
0
  #7
Jul 31st, 2005
Hi everyone,

I had a feeling was wrong, wasn't quite sure about this.
Sorry about it. Isn't CVS a protocol??

Richard West
Microsoft uses "One World, One Web, One Program" as a slogan.
Doesn’t that sound like "Ein Volk, Ein Reich, Ein Führer" to you, too?
— Eric S. Raymond

Tell me what type of software do you like and what would you pay for it

http://www.daniweb.com/techtalkforums/thread19660.html
Reply With Quote Quick reply to this message  
Join Date: Nov 2004
Posts: 6,145
Reputation: jwenting is just really nice jwenting is just really nice jwenting is just really nice jwenting is just really nice 
Solved Threads: 212
Team Colleague
jwenting's Avatar
jwenting jwenting is offline Offline
duckman

Re: What is the Use of Apache Ant and CVS in the Java Development...?

 
0
  #8
Aug 1st, 2005
there may be a protocol called CVS (though I've never heard of it) but that's not the issue here.
We're talking about CVS the VCS (version control system), a similar (but free) product to visual sourcesafe or PVCS.
As people are clearly allowed to attack me but I'm not allowed to defend myself, I no longer post to this site.
Reply With Quote Quick reply to this message  
Join Date: Jun 2004
Posts: 609
Reputation: freesoft_2000 is an unknown quantity at this point 
Solved Threads: 7
freesoft_2000 freesoft_2000 is offline Offline
Practically a Master Poster

Re: What is the Use of Apache Ant and CVS in the Java Development...?

 
0
  #9
Aug 1st, 2005
Hi Everyone,

CVS is - Concurrent Versions System. Its something where people get together to do their work ususallly for Open-Source. When i said protocol i meant a way for developesr to get the latest codes using their client-server access system and not an internet protocol like HTTP.

I was referring to something that i had replied to like the below thread

http://www.daniweb.com/techtalkforums/thread28901.html

Richard West
Microsoft uses "One World, One Web, One Program" as a slogan.
Doesn’t that sound like "Ein Volk, Ein Reich, Ein Führer" to you, too?
— Eric S. Raymond

Tell me what type of software do you like and what would you pay for it

http://www.daniweb.com/techtalkforums/thread19660.html
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Java Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC