M
Mark Boon
Recently I've started to use Eclipse as my Java IDE and like it a lot.
However, it still mystifies me how it actually works together with my
CVS repository.
In my repository I have a structure like the following:
source/
company1/
project1/
project2/
company2/
project3/
Each project has a large number of files and sub-directories in them.
I make a project in Eclipse for say project1, choose project1/source
and project1/classes as my repsective source-folder and output folder.
Now I do 'Share Project' and I need to give a CVS module. If I put in
"source/company1/project1" then Eclipse puts it straight in the
top-level directory, ignoring the fact that I set my source-folder to
"source". And it then generates millions or build-errors because the
package doesn't match the directory structure.
I've tried lots of other things, too many to list here, but the only
way I got it to kind of work is using WinCVS to checkout my files in
the proper directory (workspace/project1/source/company1/project1/...)
structure. Eclipse then seems to be able to update and commit changes,
but synchronization doesn't have a clue what's going on and gives
errors in the 'Incoming' mode, only saying "An error occured while
synchronizing with remote contents". Also, when I 'update' my project,
it not only retrieves source for project1, but project2 and 3 as well,
which is very annoying.
I've tried to find documentation on how to use CVS with Eclipse, but
so far found nothing that would help me with this problem.
So I would be very grateful if someone could give me a pointer to some
good documentation on how to combine Eclipse with an existing
repository. Or even better, maybe someone can explain me how to use
Eclipse in such a way with the given repository without having to fall
back on external CVS tools.
Mark Boon
However, it still mystifies me how it actually works together with my
CVS repository.
In my repository I have a structure like the following:
source/
company1/
project1/
project2/
company2/
project3/
Each project has a large number of files and sub-directories in them.
I make a project in Eclipse for say project1, choose project1/source
and project1/classes as my repsective source-folder and output folder.
Now I do 'Share Project' and I need to give a CVS module. If I put in
"source/company1/project1" then Eclipse puts it straight in the
top-level directory, ignoring the fact that I set my source-folder to
"source". And it then generates millions or build-errors because the
package doesn't match the directory structure.
I've tried lots of other things, too many to list here, but the only
way I got it to kind of work is using WinCVS to checkout my files in
the proper directory (workspace/project1/source/company1/project1/...)
structure. Eclipse then seems to be able to update and commit changes,
but synchronization doesn't have a clue what's going on and gives
errors in the 'Incoming' mode, only saying "An error occured while
synchronizing with remote contents". Also, when I 'update' my project,
it not only retrieves source for project1, but project2 and 3 as well,
which is very annoying.
I've tried to find documentation on how to use CVS with Eclipse, but
so far found nothing that would help me with this problem.
So I would be very grateful if someone could give me a pointer to some
good documentation on how to combine Eclipse with an existing
repository. Or even better, maybe someone can explain me how to use
Eclipse in such a way with the given repository without having to fall
back on external CVS tools.
Mark Boon