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 20475 - Error praparing cvs module path for checkout
Summary: Error praparing cvs module path for checkout
Status: CLOSED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: vcsgeneric (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P2 blocker (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-02-12 18:09 UTC by Jakub Dadak
Modified: 2003-07-01 13:02 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jakub Dadak 2002-02-12 18:09:05 UTC
When selecting in CVS->Checkout in right-click menu on file specified bad
checkout string is constructed.
Checkout dialog:
Bad 3.3.1 string: zb/WEB-INF/classes\com/bs/zb
Good old one    : zb/WEB-INF/classes/com/bs/zb

Back slash is reason of cvs error on netvork Linux repository
I have repare it manualy and it's a little waste of time.

Configuration:
Workdir: e:\zbproject
Relative mount: zb/WEB-INF/classes
Server type: server
Comment 1 Martin Entlicher 2002-02-14 09:19:06 UTC
You should use CVS -> Update in this situation.
I'm exploring where the bug comes from...
Comment 2 Martin Entlicher 2002-02-14 09:39:25 UTC
Fixed in dev build Feb 15.
Comment 3 Jiri Kovalsky 2002-02-18 08:23:44 UTC
Cool. Verified in development build #200202150100 of NetBeans 3.4.
Comment 4 Martin Entlicher 2002-02-22 15:06:25 UTC
Increasing priority, since it's very visible, more users complaied
about this.
Adding 3.3.2_CANDIDATE keyword.
Comment 5 Martin Entlicher 2002-02-22 15:26:31 UTC
Fixed in orion_ea branch.

The fix is trivial:

RCS file:
/cvs/vcscore/src/org/netbeans/modules/vcscore/VcsAction.java,v
diff -c -r1.62 -r1.63
*** VcsAction.java	7 Jan 2002 10:53:04 -0000	1.62
--- VcsAction.java	14 Feb 2002 09:38:56 -0000	1.63
***************
*** 1046,1052 ****
          if (fullName.length() == 0) fullName = "."; // NOI18N
          String module = (String) vars.get("MODULE"); // NOI18N
          if (module == null) module = ""; // NOI18N
!         if (module.length() > 0) module += separator;
          vars.put("PATH", fullName); // NOI18N
          vars.put("QPATH", (fullName.length() > 0) ?
quoting+fullName+quoting : fullName); // NOI18N
          vars.put("DIR", path); // NOI18N
--- 1046,1052 ----
          if (fullName.length() == 0) fullName = "."; // NOI18N
          String module = (String) vars.get("MODULE"); // NOI18N
          if (module == null) module = ""; // NOI18N
!         if (module.length() > 0) module += separatorChar;
          vars.put("PATH", fullName); // NOI18N
          vars.put("QPATH", (fullName.length() > 0) ?
quoting+fullName+quoting : fullName); // NOI18N
          vars.put("DIR", path); // NOI18N
Comment 6 Martin Entlicher 2002-04-08 10:40:28 UTC
Changing target milestone to FFJ 4.0, since it should be fixed there.
Comment 7 Quality Engineering 2003-07-01 13:02:25 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.