Use the newly introduced COMMON_PARENT variable to specify correctly the dirPath.
1.1 --- a/vcs.profiles.cvsprofiles/src/org/netbeans/modules/vcs/profiles/cvsprofiles/list/CvsListRecursiveCommand.java Fri Oct 11 15:20:12 2002 +0000
1.2 +++ b/vcs.profiles.cvsprofiles/src/org/netbeans/modules/vcs/profiles/cvsprofiles/list/CvsListRecursiveCommand.java Sun Oct 13 12:48:40 2002 +0000
1.3 @@ -96,7 +96,12 @@
1.4 this.dir = ""; // NOI18N
1.5 //vars.put("DIR","."); // NOI18N
1.6 }
1.7 - this.dirPath = new String(dir.replace(java.io.File.separatorChar, '/')); // I have to be sure that I make new object
1.8 + String commonParent = (String) vars.get("COMMON_PARENT");
1.9 + if (commonParent != null && commonParent.length() > 0) {
1.10 + this.dirPath = new String(commonParent.replace(java.io.File.separatorChar, '/') + "/" + this.dir.replace(java.io.File.separatorChar, '/'));
1.11 + } else {
1.12 + this.dirPath = new String(dir.replace(java.io.File.separatorChar, '/')); // I have to be sure that I make new object
1.13 + }
1.14 String module = (String) vars.get("MODULE"); // NOI18N
1.15 D.deb("rootDir = "+rootDir+", module = "+module+", dir = "+dir); // NOI18N
1.16 if (dir.equals("")) { // NOI18N