Eclipse, Ant, and CVS
- From: sjc@xxxxxx
- Date: 27 May 2005 19:30:42 -0700
** WARNING: _Not_ for the feint of heart. **
I work on a large and complex software project. Our directory
structure is part inherited, part legacy, and can best be described as
a horible broken mess. We have an ant script that brings in various
libraries, utilities, and directories to compile our source into
various output directories. Our source is managed by CVS. Our build
is managed by Ant. I am torn between the two.
If I use source that's already checked out and create a project using
Ecliplse 3.1 "Java Project from Existing Ant Buildfile", it performs a
great deal of magic, imports the proper libraries, sets up the
necessary source files, and with a few tweaks, gets to a point where it
can build the source and put it in the proper location. I still have
to use the ant script to package the class files into their respective
JAR files, but I'm ok with that. The problem in this scenario is that
if I try to connect the project to our CVS repository using "Team ->
Share Project...", it gets all confused, and after much processing, is
convinced that ever existing file needs to be added to the repository
and every repository file needs to be downloaded. Not good.
If I check out the java project from the repository using Eclipse
"Checkout projects from CVS", I can't figure out how to get Eclipse to
read the Ant script and do all its magic setting up the libraries and
paths correctly after the project has been checked out. Immediatly,
Eclipse begins complaining about compile errors and unresolved
references throughout the source tree. Not good.
I need to find a way to correctly connect a project created from an ant
build script with the CVS repository, or get Eclipse to read a build
script and set up all the paths and libraries _after_ the project has
been checked out of CVS.
Any help would be greatly appreciated.
sjc
.
- Follow-Ups:
- Re: Eclipse, Ant, and CVS
- From: sjc
- Re: Eclipse, Ant, and CVS
- Prev by Date: Re: Version Control Software
- Next by Date: Re: Version Control Software
- Previous by thread: is the lomboz tutorial updated?
- Next by thread: Re: Eclipse, Ant, and CVS
- Index(es):
Relevant Pages
|
|