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.
The ImportWizard will be replaced by simple YES/NO dialog. Code will automatically detect previous version of IDE. If any the YES/NO dialog asks for confirmation if import setting or not. If there is no previous version IDE then the dialog won't be showed. A detailed specification will attached soon.
Integrated in main trunk.
Draft spec: when the IDE runs for the first time (detected by examining the contents of the userdir) 1) it will check if ${user.home}/.netbeans/3.5 exists. If so go to step (3) 2) otherwise check ${user.home}/.netbeans/3.4, if this dir doesn't exist, skip all the following steps and start the IDE 3) ask the user if she wants to import settings from a previous version. "No, thanks" -> skip the rest, start the IDE 4) copy the approriate files from ${user.home}/.netbeans/3.5 or ${user.home}/.netbeans/3.4 to the new userdir and start the IDE Things to consider: - the list of old userdirs to check (.netbeans/3.4, .netbeans/3.5 in this case) must be brandable - the above check should be triggered only once, in subsequent starts the IDE shouldn't check anything - .netbeans/3.5, .netbeans/3.5 are the right values for Windows, Unix and even MacOS. But OpenVMS and OS/2 launchers use different defaults. Consider to make the list of old userdirs not only brandable but also operating system specific
I not agree to simplify the ImportWizard to YES/NO. Since I participate to the NetCAT program, I have different versions of NetBeans on my machine. It's not easy to decide which are the 'appropriate' files to copy by hand, and it's uncomfortable. It's so simple to have a FileChooser filled with an appropriate preselection. Btw. in case of having multiple development builds on the same machine it's not possible use the default user dir in all cases. Please discuss newly about this topic.
I think the same, that I use not default folder to store the IDE settings. I think that should be possible choose the folder/NB version for the settings import.
No FileChooser planned in this simple import dialog. We suppose almost users use default installation with userdirs on the default place. It's covered by simple import dialog. If an user uses a non-default userdir (e.g. --userdir <my place>) then can use same userdir in both versions. It should work but on own risk of course.