CVS - Synchronize option missing from Team menu [message #245734] |
Wed, 16 January 2008 22:12 |
Eclipse User |
|
|
|
Originally posted by: janet.foster.tsunamidevelopment.com
I have added a CVS repository to my project, and checked out files
successfully. But I cannot get anything to show up in a Synchronize view.
If I right-click on a resource, the Team menu only has Apply Patch and
Update Project. "Synchronize" is not there.
If I select the toolbar option "Synchronize", it keeps saying "There are
no CVS resources to synchronize" and the only thing it will do is let me
do is check out all the files again.
How do I get the Synchronize option to work (or appear on the Team menu)?
|
|
|
|
Re: CVS - Synchronize option missing from Team menu [message #245866 is a reply to message #245734] |
Fri, 18 January 2008 07:58 |
Eclipse User |
|
|
|
Originally posted by: emilba.yahoo.com
you can try these ones.
1. Window -> Show View -> Other -> CVS -> CVS Repositories. Right click
-> New Repository Location and enter you cvs info.
2. if your project is already in the cvs repository. you can create a
new project from CVS. File -> New -> Project -> Project From CVS
2. If the project is NOT shown like "YourProject [yourCVS_IP/name]" On
the package explorer (or project explorer) right click to your project
and Team -> Share Project. If the project file structure already
contains "CVS" folders you will be informed.
or
3. If the project is shown like YourProject [yourCVS_IP/name] you can
change the repository location to another one. right click to your
project. Properties -> CVS -> Change Sharing.
I hope these will help
emil
Janet wrote:
> I have added a CVS repository to my project, and checked out files
> successfully. But I cannot get anything to show up in a Synchronize
> view. If I right-click on a resource, the Team menu only has Apply Patch
> and Update Project. "Synchronize" is not there.
> If I select the toolbar option "Synchronize", it keeps saying "There are
> no CVS resources to synchronize" and the only thing it will do is let me
> do is check out all the files again.
>
> How do I get the Synchronize option to work (or appear on the Team menu)?
>
>
|
|
|
Re: CVS - Synchronize option missing from Team menu [message #245944 is a reply to message #245807] |
Fri, 18 January 2008 21:20 |
Eclipse User |
|
|
|
Originally posted by: janet.foster.tsunamidevelopment.com
Kiril,
I am using Eclipse version 3.3.1.1. I did not have any decorations or CVS
file structure anywhere. But I started over and now it is correct with
the CVS file structure and full CVS options available under the Team menu
(Commit, Synchronize, etc.).
What I did differently was that I checked out from a tagged branch instead
of just HEAD. Both times I did a Check Out As into an existing project
(an empty project created beforehand). The first time I did not select a
Tag. I just left it blank, clicked Finish and the file checkout
commenced. But the second time I did select a Tag from a Branch (since
then a new tagged branch had been created for me).
So I have to select a Tag from a Branch? Just checking out files from HEAD
isn't right? What if there was no branch or tag? Or are tags and
branches always there?
Janet
|
|
|
|
Re: CVS - Synchronize option missing from Team menu [message #245954 is a reply to message #245944] |
Fri, 18 January 2008 22:09 |
Eclipse User |
|
|
|
Originally posted by: wharley.bea.com
"Janet Foster" <janet.foster@tsunamidevelopment.com> wrote in message
news:27a3ad030ce1971784e386b4ad5a690c$1@www.eclipse.org...
> Kiril,
> I am using Eclipse version 3.3.1.1. I did not have any decorations or CVS
> file structure anywhere. But I started over and now it is correct with
> the CVS file structure and full CVS options available under the Team menu
> (Commit, Synchronize, etc.).
> What I did differently was that I checked out from a tagged branch instead
> of just HEAD. Both times I did a Check Out As into an existing project
> (an empty project created beforehand). The first time I did not select a
> Tag. I just left it blank, clicked Finish and the file checkout
> commenced. But the second time I did select a Tag from a Branch (since
> then a new tagged branch had been created for me).
>
> So I have to select a Tag from a Branch? Just checking out files from HEAD
> isn't right? What if there was no branch or tag? Or are tags and
> branches always there?
The problem may have to do with checking out into an existing project; I'm
not sure. Or maybe there's something funky about either your repository or
your repository definition?
You should definitely be able to check out HEAD, and commit changes back to
it. That's by far the most common scenario for using CVS.
|
|
|
Re: CVS - Synchronize option missing from Team menu [message #246003 is a reply to message #245944] |
Sat, 19 January 2008 07:16 |
kiril mitov Messages: 69 Registered: July 2009 |
Member |
|
|
Hi Janet,
Tags and branches are not always there. They are created by you, by one
of you colleagues, by an administrator. But you always have the "HEAD"
branch.
You say you have a tagged branch created for you.
This is how I work with cvs.
1.First I check out everything from HEAD. For a new project this will
create everything I need. The project, the cvs structure. I will be able
to browse the tags and branches of the project.
2.After that I sync to a specified tag or branch using "Replace
With->Another Branch or Version..." from the context menu of the project.
And that`s it. I have my project synced to the branch. Even though you
have first checked out files from HEAD (which in you case is not right)
you have then synced to the branch.
Hope this helps.
Best Regards,
Kiril
Janet Foster wrote:
> Kiril,
> I am using Eclipse version 3.3.1.1. I did not have any decorations or
> CVS file structure anywhere. But I started over and now it is correct
> with the CVS file structure and full CVS options available under the
> Team menu (Commit, Synchronize, etc.).
> What I did differently was that I checked out from a tagged branch
> instead of just HEAD. Both times I did a Check Out As into an existing
> project (an empty project created beforehand). The first time I did not
> select a Tag. I just left it blank, clicked Finish and the file
> checkout commenced. But the second time I did select a Tag from a Branch
> (since then a new tagged branch had been created for me).
>
> So I have to select a Tag from a Branch? Just checking out files from
> HEAD isn't right? What if there was no branch or tag? Or are tags and
> branches always there?
> Janet
>
|
|
|
Re: CVS - Synchronize option missing from Team menu [message #246401 is a reply to message #246003] |
Tue, 22 January 2008 17:01 |
Eclipse User |
|
|
|
Originally posted by: janet.foster.tsunamidevelopment.com
Yes, that helps.
I went back to try to checkout from HEAD again. This time I did not
create an empty Eclipse project first and checkout into it. Instead, I did
a Checkout As > Check out as a project in the workspace. This created a
project with CVS structure and I can see all the options to which you
referred.
So I think I've got what I need. Thank you very much for the help.
Janet
|
|
|
Powered by
FUDForum. Page generated in 0.09548 seconds