Re: Eclipse/CVS/Ant



Hi,

>How do you import a Java project into Eclipse that uses Ant to build
>and CVS for source control?
>
>Are you supposed to checkout the CVS module first with
>"File->New->Project->Checkout Project from CVS"?

yes, I would checkout the whole project from CVS if it is already
there. If the project isn't in the CVS yet you can add it with
Team/Share Project.

>If so, how then do you import the build.xml file? Whenever I use the
>Project Wizard to create the project it tells me that the project name
>is already taken. Am I supposed to delete the CVS module from the
>Project view but leave the contents on disk and then do an "Import Java
>project from Ant buildfile"?

Well, if there is already a project with the same name in your
workspace delete it first. Then try again to checkout the whole
project.

And what do you mean with "import the build.xml"? Do you want to
import it to CVS? Then just use Team/Add to Version Control or
Team/Commit.

>It certainly isn't as intuitive as I would expect.

We work with Eclipse and CVS in a developer team now for more than two
years and found the CVS integration of Eclipse very easy to use.

Maybe you'd better read some documentation about principles of CVS
first.

cu
Dirk
.



Relevant Pages

  • Re: Eclipse: Delete Folder winthin CVS?
    ... > My company uses Eclipse in conjunction with CVS. ... > better, more user friendly application that plugs into CVS, then I'm ... > So you're saying I'm stuck with the folder forever? ... which places a "new folder " within the CVS repository. ...
    (comp.lang.java.softwaretools)
  • Re: In Eclipse, how to diff the current state against the last checkout?
    ... This is an Eclipse question, but since Eclipse is a Java IDE, i ... committing to CVS as i go. ... make a patch of anything you've diffed, but what do i diff against? ... 'diff against last checkout' option? ...
    (comp.lang.java.programmer)
  • Re: Question on CVS...
    ... have you used either Eclipse or JDeveloper? ... Not the new version for Eclipse. ... I would probably not be basing my IDE selection solely on CVS integration. ... I use CVSNT and Idea has an integrated CVS client. ...
    (comp.lang.java.help)
  • Re: Eclipse and CVS
    ... | Anyone got Eclipse and CVS playing nicely together? ... and would like to use cvs for versionning. ... command line client. ... | Another cvs-server my friend is already using (some CVSNT i know nothing ...
    (Debian-User)
  • Re: CVS checkout doesnt work in Eclipse v3.0.1
    ... the CVS functionality of Eclipse ... make sure you specify the whole repository path ...
    (comp.lang.java.softwaretools)