Community
Participate
Working Groups
If I right-click on a package in the Package Explorer and issue a CVS command (such as Update), it operates recursively. It should not. Example: *** cvs update -C -d -P "/drools/src/java/test/org/drools/reteoo" cvs server: Updating src/java/test/org/drools/reteoo cvs server: Updating src/java/test/org/drools/reteoo/impl ok (took 0:00.310) *** Packages like "org.eclipse" and "org.eclipse.foo" in Java are appropriately not shown nested in Package Explorer because they don't inherit anything, and similarly, actions done to one package from Package Explorer should not affect class files in another just because they happen to share part of their name. Recursive CVS behavior is potentially quite dangerous, and is confusing since the non-nested arrangement in Package Explorer suggests the operations will not be recursive. In the example above, the second package should not have been updated. The commands issued by the popup menus for packages need to be changed to use the -l option instead of the default recursive behavior. I am using 2.1 RC1.
Asking Team how this can be achived.
*** This bug has been marked as a duplicate of 33210 ***
This is not the same problem as 33210. This problem is specific to how CVS commands should work when done from a package icon/tree entry in the Package Explorer. I am not experiencing the problems reported in 33210. To reiterate, the commands issued by the popup menus for packages need to be changed to use the -l option instead of the default recursive behavior.
*** Bug 68332 has been marked as a duplicate of this bug. ***
This is very dangerous when invoking "Replace With->Latest From $STREAM$" Nested outgoing changes get lost unexpectedly. Furthermore, the lost changes are not even available in my local history despite my setting the limit to 50.
If bad decorators are "critical", then losing lots of code must be at least as bad. (see Bug 3979)
Support for this was added in 3.1. CVS operations on Java packages are not recursive.
Is this behaviour have an option to select one or the other? I used to use "Tree" layout, and everything works recursively, but now "synchronized cvs" works recursively, but cvs update/commit doesn't...feels like a bug...:(
Xordos, you should log a bug against JDT UI for this. The intention is that the depth of the operation match what is displayed in the view. If the view is deep, the operation should be deep. It is the view displaying the resources that controls this.