Community
Participate
Working Groups
When I copy a folder in the Package Explorer, the associated CVS files get copied as well. This leads to problems with CVS in the future. Steps to reproduce: 1. Create a Java project TestCVS 2. Select "Properties" of the Java project. 3. Under the source tab, select "Use source folders contained in the project". 4. Delete the JRE_LIB from the project (don't know if this is necessary) 5. Create a folder foo. 6. Create a folder com under foo. 7. Create a folder oti under com. 8. Create a folder bar under oti. 9. Put the following class in the folder bar: package com.oti.bar; public class Foo { } 10. Synchronize outgoing changes with CVS, and commit everything. 11. Now, create a folder copyfoo under TestCVS. 12. Select the folder com under foo, and press ^C. 13. Select the folder copyfoo and press ^V. 14. You now have two folder structures that look the same. 15. Now open an explorer on the Workspace directory, and look in TestCVS\copyfoo\com\CVS\Repository 16. Note that the Repository is TestCVS/foo/com, and not what it should be (TestCVS/copyfoo/com). This means the IDE will get out of sync with the repository, mistakenly telling you everything has been updated when it hasn't, and replacing the wrong files in the repository.
we use IResource::copy not sure how we could cause that problem or make it disappear.
*** This bug has been marked as a duplicate of 24156 ***