add new project to CVS repository [message #29352] |
Mon, 19 May 2003 10:27  |
Eclipse User |
|
|
|
I want to add a new project to the CVS repository
Currenly I have a repostory, set up like this:
HEAD/CVSROOT
HEAD/Java/Project1
HEAD/Java/Project2
and I want to add:
HEAD/Java/Project3
According to the help for Specifying a repository location
"
Before we can share our project with other users we must first specify
an available repository.
1. Open the CVS Repository Exploring perspective. The top left view
shows all of the CVS repositories that we are currently working with. As
you can see, the view is empty, meaning we still need to specify a
repository.
2. In the context menu of the CVS Repositories view choose New >
Repository Location
"
but I don't want to create a new repository, I want to add a project
(folder) to the existing one. How do I do this?
|
|
|
|
|
|
|
|
Re: add new project to CVS repository [message #30445 is a reply to message #30414] |
Mon, 19 May 2003 18:13   |
Eclipse User |
|
|
|
yea, as soon as I typed my last response, a light bulb went on.
I copy & pasted thru eclipse and the new project was tied to the CVS
stuff of the old project.
so i disconnected the new project.
and when I try Team -> Share Project (accepting defaults), Eclipse crashes:
JVM terminated. Exit code=1
/usr/java/j2sdk1.4.1_02/bin/java
-cp /usr/bin/eclipse/startup.jar org.eclipse.core.launcher.Main
-os linux
-ws gtk
-arch x86
-showsplash /usr/bin/eclipse/eclipse -showsplash 600
-data /development/Java
I then tried copy & pasting the new _disconnected_ project and Sharing
that, but same error.
Richard L. Kulp wrote:
> Ah, was the existing project a Team CVS project? If it was, you copied
> the CVS control files too. So it got confused. Did you do the copy/paste
> the Eclipse or through the file system, e.g. File Explorer. If you did
> it through Eclipse navigator, maybe this could be considered a bug and
> it shouldn't have copied the CVS files. If you did it through the file
> system, Eclipse has no idea you did this and is seeing the CVS files.
>
> Rich
>
|
|
|
|
Re: add new project to CVS repository [message #31742 is a reply to message #30445] |
Tue, 20 May 2003 11:50  |
Eclipse User |
|
|
|
Originally posted by: richkulp.NOSPAM.us.ibm.com
A better way to do this would be to export the entire original project
to outside of Eclipse. This will not export any CVS control info. The
..project file may still give you a problem, I'm not sure.
Then create a new project and import the files back into this new
project. Now you should have no problem sharing.
Doing Team->disconnect still leaves the CVS control files around. This
is so that if you do a Team->Share it can go right back to the same
place and have everything match up correctly. It must of gotton confused
with those files still laying around.
Rich
|
|
|
Powered by
FUDForum. Page generated in 0.10428 seconds