After accepting change sets, newly created project does not belong to workspace
Hi,
After accepting a number of change sets, I have noticed that some files (mostly Java and Groovy files) from project P1 were moved to project P2. Project P1 is still used. However, project P2 was not added to my workspace (my change set was integrated into P2 but the files are not tracked anymore in RTC. I can edit them but they are not part of my change set). I have tried to reload the component containing both projects and also the whole workspace several times. It didn't work. Error message was that project "/P1" already exists. I couldn't find any file that would contain this pattern. I tried to delete the relevant directories and reload but it didn't work. I can not bypass this problem. After the reload projects are out of sync and I can not sync then due to the same error. Moreover after reloading the workspace I see more projects that do not belong to the workspace anymore. I would be very very grateful if somebody could help with advise on how to fix the problem. Thank you
After accepting a number of change sets, I have noticed that some files (mostly Java and Groovy files) from project P1 were moved to project P2. Project P1 is still used. However, project P2 was not added to my workspace (my change set was integrated into P2 but the files are not tracked anymore in RTC. I can edit them but they are not part of my change set). I have tried to reload the component containing both projects and also the whole workspace several times. It didn't work. Error message was that project "/P1" already exists. I couldn't find any file that would contain this pattern. I tried to delete the relevant directories and reload but it didn't work. I can not bypass this problem. After the reload projects are out of sync and I can not sync then due to the same error. Moreover after reloading the workspace I see more projects that do not belong to the workspace anymore. I would be very very grateful if somebody could help with advise on how to fix the problem. Thank you
Accepted answer
I assume when you say "project", you mean an Eclipse project (with a .project file in the root directory of the project). It is true that an "accept" does not automatically import new projects into your Eclipse workspace.
But I didn't understand what you meant by "my change set was integrated into P2, but the files are not tracked anymore in RTC". Assuming you have checked-in all your changes, I'd suggest unloading the component containing P1 and P2 (I assume P1 and P2 are in the same RTC component), and loading it again. Is that what you meant by "reload"?
If you are getting the error "project P1" already exists, that probably means that you have two different Eclipse projects named P1 in that component. To see what exactly is in the component, you can either "show -> repository files" (and use the GUI to browse), or you can use the variant of "load" that says "load files but do not create Eclipse projects" ... then you use normal file system browsing commands (not Eclipse) to see what is in the component.
But I didn't understand what you meant by "my change set was integrated into P2, but the files are not tracked anymore in RTC". Assuming you have checked-in all your changes, I'd suggest unloading the component containing P1 and P2 (I assume P1 and P2 are in the same RTC component), and loading it again. Is that what you meant by "reload"?
If you are getting the error "project P1" already exists, that probably means that you have two different Eclipse projects named P1 in that component. To see what exactly is in the component, you can either "show -> repository files" (and use the GUI to browse), or you can use the variant of "load" that says "load files but do not create Eclipse projects" ... then you use normal file system browsing commands (not Eclipse) to see what is in the component.