facebook

New Packages not showing up when Syncronizing with CVS

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #263101 Reply

    bugiz
    Member

    I am having a problem where any new Packages (within a Java Project) do not show up when I do a Team->Syncronize on an existing shared project. Here’s an example:

    User A creates a new Package called org.newpackage.stuff
    User A creates several Java Classes within this new Package
    User A decides to do a Team->Syncronize and Commit to the CVS

    User B decides to do a Team->Syncronize to see if there are any new updates from User A
    User B only sees changes in existing Packages. None of the new Packages show up for User B.

    If User B wants to import any packages, he/she must go to the CVS view and look at the Branch itself to see if there are any new packages there. Then he/she must go back to the Java Perspective, create a new package (same name as the one User A commited), then do a Team->Synchronize. Only then does User B see the changes.

    This bug didn’t seem to exist before I upgrated to 5.1. If User B has no idea that there are packages available that any other use has set up, he/she will never see them.

    Is there a fix for this? Thank you!

    #263115

    Riyad Kalla
    Member

    I believe you need to specify your current active branch so when you run the synchronize command it runs against that branch. Try right clicking on the root of the project (on User B’s computer) and going to Team > Switch to another Branch or Version, then try a Synchronize.

    Did that work?

    #263167

    bugiz
    Member

    I tried what you have suggested and unfortunately it did not work. Interestingly enough I can see the new package folders (com.test = /com/test) in the Syncronizing CVS pop-up window. But I don’t see it in the Team Synchronize view.

    Any suggestions?

    #263177

    Brian Fernandes
    Moderator

    MyEclipse does not install any plugins which could interfere with CVS functionality, so it’s really odd that you see this after the 5.1 upgrade.
    Here are a few additional questions:

    1) Can you go to the CVS Repositories view (you can find this in the CVS perspective) and expand the appropriate repository and your project – do you see the classes and packages added by A?

    2) Do you have any .cvsignore files or have you made any changes to the Eclipse CVS preferences? Do you have any sort of filters / change sets active in the synchronization view that could be hiding the incoming changes? Since you see a popup with the new stuff, this could be the cause.

    What if you just update your project (right click project, Team > Update) instead of synchronize, do the new packages & classes come in then?
    Can you try checking out the entire project again and see if that fixes things?

    3) Try using Team > Compare with instead of synchronize and see if that shows you an changes.

    Let us know how it goes.

    #263197

    bugiz
    Member

    The upgrade to 5.1 required for me to install eclipse 3.2.1. I previously had 3.1.2 and MyEclipse 4.X. Thus, the problems show up after upgrading to eclipse 3.2.1 and MyEclipse 5.1

    I tried your suggestions and here’s what I got:

    1) In the CVS Repositories view I can see the new package there (in file folder form of course ‘/com/test’)

    2) My .cvsignore file for the specific project only includes: .classpath and .project
    No special filters active. Just the standard <> filter
    I have made no new changes in CVS preferences
    Tried a Team -> Update and it doesn’t seem to find the new package
    Re-Checking out the project finds the new packages.

    3) Team->Compare will not show the new packages.

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: New Packages not showing up when Syncronizing with CVS

You must be logged in to post in the forum log in