This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 49829

Summary: Better VCS integration for packages in Projects tab
Product: obsolete Reporter: _ gtzabari <gtzabari>
Component: vcscoreAssignee: Martin Entlicher <mentlicher>
Status: CLOSED FIXED    
Severity: blocker    
Priority: P2    
Version: 4.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:
Bug Depends on: 52271    
Bug Blocks: 51807, 52243    

Description _ gtzabari 2004-10-02 05:28:56 UTC
Currently, if the contents of a package is stored
in VCS, Netbeans displays the checkout status of
each file and you can right-click to get a VCS
context-sensitive menu. This is very nice.

The problem is that you cannot right-click on a
package and get a VCS context menu, so it is
impossible to REFRESH ALL on the files inside a
package or even commit them all in one shot.

Would it be difficult to add this integration?
Comment 1 Martin Entlicher 2004-12-07 09:24:06 UTC
Scheduling for 4.1 for now. We need to negotiate some APIs with the
projects team.
Comment 2 Martin Entlicher 2004-12-07 09:27:13 UTC
*** Issue 52134 has been marked as a duplicate of this issue. ***
Comment 3 ulfzibis 2004-12-09 14:20:17 UTC
Workaround: see 52134
        or: use menu Versioning->CVS
Comment 4 Martin Entlicher 2005-01-14 18:11:09 UTC
vcscore module forbids the recursiveness of commands on nodes
providing NonRecursiveFolder:

/cvs/vcscore/src/org/netbeans/modules/vcscore/cmdline/UserCommandSupport.java,v
 <--  UserCommandSupport.java
new revision: 1.56; previous revision: 1.55

/cvs/vcscore/src/org/netbeans/modules/vcscore/VcsFSCommandsAction.java,v
 <--  VcsFSCommandsAction.java
new revision: 1.17; previous revision: 1.16

/cvs/vcscore/nbproject/project.xml,v  <--  project.xml
new revision: 1.11; previous revision: 1.10

/cvs/vcscore/src/org/netbeans/modules/vcscore/actions/CommandMenu.java,v
 <--  CommandMenu.java
new revision: 1.22; previous revision: 1.21

RCS file:
/cvs/vcscore/src/org/netbeans/modules/vcscore/commands/RecursionAwareCommand.java,v

src/org/netbeans/modules/vcscore/commands/RecursionAwareCommand.java;
/cvs/vcscore/src/org/netbeans/modules/vcscore/commands/RecursionAwareCommand.java,v
 <--  RecursionAwareCommand.java
initial revision: 1.1
Comment 5 Martin Entlicher 2005-01-17 11:30:00 UTC
Added "onNonRecursiveDir" command property to be able to select
commands which should be enabled:

/cvs/vcscore/src/org/netbeans/modules/vcscore/actions/CommandMenu.java,v
 <--  CommandMenu.java
new revision: 1.23; previous revision: 1.22

/cvs/vcscore/src/org/netbeans/modules/vcscore/cmdline/UserCommandSupport.java,v
 <--  UserCommandSupport.java
new revision: 1.57; previous revision: 1.56

/cvs/vcscore/src/org/netbeans/modules/vcscore/commands/VcsCommand.java,v
 <--  VcsCommand.java
new revision: 1.40; previous revision: 1.39

RCS file:
/cvs/vcscore/src/org/netbeans/modules/vcscore/commands/RecursionAwareCommandSupport.java,v
done

/cvs/vcscore/src/org/netbeans/modules/vcscore/commands/RecursionAwareCommandSupport.java,v
 <--  RecursionAwareCommandSupport.java
initial revision: 1.1

/cvs/vcsgeneric/src/org/netbeans/modules/vcs/advanced/commands/Bundle.properties,v
 <--  Bundle.properties
new revision: 1.48; previous revision: 1.47

/cvs/vcsgeneric/src/org/netbeans/modules/vcs/advanced/commands/CommandNode.java,v
 <--  CommandNode.java
new revision: 1.55; previous revision: 1.54
Comment 6 Martin Entlicher 2005-01-17 14:58:51 UTC
Fixed in CVS profile:

/cvs/vcsgeneric/profiles/cvsprofiles/src/org/netbeans/modules/vcs/profiles/cvsprofiles/config/cvs.xml,v
 <--  cvs.xml
new revision: 1.115; previous revision: 1.114

The FileSystem action is added on Java Package nodes:

/cvs/java/project/src/org/netbeans/spi/java/project/support/ui/PackageViewChildren.java,v
 <--  PackageViewChildren.java
new revision: 1.50; previous revision: 1.49
Comment 7 Martin Entlicher 2005-01-17 18:20:09 UTC
Fixed in PVCS and VSS profiles:

/cvs/vcsgeneric/profiles/pvcs/src/org/netbeans/modules/vcs/profiles/pvcs/config/pvcs.xml,v
 <--  pvcs.xml
new revision: 1.40; previous revision: 1.39

/cvs/vcsgeneric/profiles/pvcs/src/org/netbeans/modules/vcs/profiles/pvcs/config/pvcsLoc_XX.xml,v
 <--  pvcsLoc_XX.xml
new revision: 1.36; previous revision: 1.35

/cvs/vcsgeneric/profiles/vss/src/org/netbeans/modules/vcs/profiles/vss/config/Bundle.properties,v
 <--  Bundle.properties
new revision: 1.12; previous revision: 1.11

/cvs/vcsgeneric/profiles/vss/src/org/netbeans/modules/vcs/profiles/vss/config/vss.xml,v
 <--  vss.xml
new revision: 1.37; previous revision: 1.36

/cvs/vcsgeneric/profiles/vss/src/org/netbeans/modules/vcs/profiles/vss/config/vssLoc_XX.xml,v
 <--  vssLoc_XX.xml
new revision: 1.31; previous revision: 1.30

Comment 8 Peter Pis 2005-07-21 12:40:55 UTC
Verified.