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 17556 - nb 3.3beta3 imports nb3.2.1 wrong
Summary: nb 3.3beta3 imports nb3.2.1 wrong
Status: CLOSED FIXED
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: CVS (show other bugs)
Version: 3.x
Hardware: PC Linux
: P1 blocker (vote)
Assignee: issues@versioncontrol
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-11-12 14:31 UTC by Thomas Hiller
Modified: 2007-01-04 17:14 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 Thomas Hiller 2001-11-12 14:31:01 UTC
When I import my nb3.2.1 project all links are broken.
I'm using cvs filesystems with relative mount points.
Comment 1 Vitezslav Stejskal 2001-11-12 15:01:16 UTC
Are CVS filesystems OK? Look in the filesystems tab in Explorer window if you can see your files loaded 
from CVS. There was some bug in CVS fs, but it should be solved now.

CCing vcs module guys.
Comment 2 Martin Entlicher 2001-11-12 19:42:02 UTC
There was some problem with links in javacvs (Built-in CVS client). It
should be fixed in beta4 (am I right Milos? Not sure if this is the
same problem).

Did you use the built-in or command-line client?
Comment 3 Milos Kleint 2001-11-13 07:35:14 UTC
the problem that is currently fixed appeared only when 2 filesystems
differed only in the relative mountpoint and one was exactly 2
directories under the first one.. for example one has rel. mountpoint
"openide" andthe second one has "openide/test/src"..

what type of fs do you use and do they appear correctly in the
filesystems tab?
Comment 4 Vitezslav Stejskal 2001-11-13 22:26:27 UTC
Thomas could you please answer the questions asked, we need more info. Thanks. I'll try to play around it 
in the meantime.
Comment 5 Vitezslav Stejskal 2001-11-15 12:15:15 UTC
This is backward compatibility problem of JavaCvsFileSystem. In the 3.2 it declares it's system name 
(result of fs.getSystemName ()) in form:
*org.netbeans.modules.javacvs.JavaCvsFileSystem[V:\dev\trunk\nb_all]*

but in 3.3 it is in form:
*org.netbeans.modules.javacvs.JavaCvsFileSystem V:\dev\trunk\nb_all*

Due to this any DataShadow created from the DataObject under JavaCvsFileSystem in 3.2 version is broken 
in 3.3! Is there any reason why this has been changed? Could you please revert it. By reverting we will 
break compatibilty with previous beta, but IMO it is less annoying then broken compatbility between 3.2 
and 3.3.

Steps to reproduce:

1. create 3.2 project and mount at least one JavaCvsFileSystem
2. create link to some DataObject under above fs (e.g. Tools | Add to Project)
3. import this project in 3.3 and open it
4. links you've created are broken (see projects tab)

Comment 6 Martin Entlicher 2001-11-15 12:44:25 UTC
Reassigned to javacvs.
Comment 7 Milos Kleint 2001-11-15 14:42:33 UTC
all, right. I think I fixed it a way that will maintain backward
compatibility both with 3.2 and 3.3 betas..
Comment 8 Jiri Kovalsky 2001-11-16 10:21:00 UTC
Well, it seems better now. The links are valid and not broken. However
there are several exceptions thrown during and after an import of such
a project. I'm gonna file a separate bug on it.
Verified in development build of NetBeans 3.3 #200111160100.
Comment 9 Quality Engineering 2003-07-01 12:47:52 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.