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 135356 - [65cat] IDE elects settings for 6.0 rather than 6.1
Summary: [65cat] IDE elects settings for 6.0 rather than 6.1
Status: VERIFIED FIXED
Alias: None
Product: ide
Classification: Unclassified
Component: Import Settings (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jiri Skrivanek
URL: http://wiki.netbeans.org/NB65Settings...
Keywords:
: 138032 141370 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-05-19 17:10 UTC by Roman Mostyka
Modified: 2008-12-22 16:42 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
project "ObjectBridge" (340.39 KB, application/x-compressed)
2008-07-10 21:32 UTC, ulfzibis
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Roman Mostyka 2008-05-19 17:10:11 UTC
1. Install NetBeans 6.0. Start IDE with fresh userdir and then close it.
2. Install NetBeans 6.1. Start IDE with fresh userdir and then close it.
3. Install NetBeans Dev. Start IDE with fresh userdir.

Result: Dialog about importing settings of NetBeans !6.0! appears. Even if userdir for 6.1 exists, "Import Settings"
dialog appears for 6.0.
Comment 1 Lukas Hasik 2008-05-20 11:39:51 UTC
It is more task then defect however. I'll leave it as defect to don't loose it from my radar.

Evaluation: Yes, it has to be implemented for NB.next version but it is too early to require it now. It will be
implemented later in development process. It is up to modules to define what they want to import. The table for import
of setting should be tracked in wiki as it was done for previous (6.1, ...) releases -
http://wiki.netbeans.org/NB61SettingsMigration

The migration page doesn't exist yet, but the URL will be http://wiki.netbeans.org/NB65SettingsMigration
Comment 2 Jiri Skrivanek 2008-06-19 09:16:54 UTC
I enabled import from 6.1 and copied include/exclude patterns from 6.0. It still needs to be confirmed from module
owners in http://wiki.netbeans.org/NB65SettingsMigration. 

http://hg.netbeans.org/core-main/rev/8dcd8b6f3742
Comment 3 Quality Engineering 2008-06-20 15:58:30 UTC
Integrated into 'main-golden', available in NB_Trunk_Production #271 build
Changeset: http://hg.netbeans.org/main/rev/8dcd8b6f3742
User: Jiri Skrivanek <jskrivanek@netbeans.org>
Log: #135356 - Enabled import from 6.1 and copied include/exclude patterns from 6.0 (to be confirmed from module owners).
Comment 4 Jiri Skrivanek 2008-06-26 10:20:45 UTC
*** Issue 138032 has been marked as a duplicate of this issue. ***
Comment 5 ulfzibis 2008-06-26 10:46:55 UTC
Please resolve issue 42157 + issue 55647.
... so we could forget those problems forever (they had come up recurrent for each new version of NB IDE).
Comment 6 ulfzibis 2008-06-27 12:58:01 UTC
Import of 6.1 now works with Dev 200806240008

... but:
http://statistics.netbeans.org/analytics/detail.do?id=70155
Comment 7 Jiri Skrivanek 2008-06-27 16:08:27 UTC
Please, submit issue for java/project and possibly attach a project which IDE was opening while it threw the exception.
Comment 8 ulfzibis 2008-07-10 18:04:28 UTC
Issue is already submitted by lhasik: #138584
Comment 9 ulfzibis 2008-07-10 20:34:47 UTC
I tried to find out, which of my projects is the cause of http://statistics.netbeans.org/analytics/detail.do?id=70155

In my 6.1 IDE I had 14 projects in the projects window, so I had to load all of them by hand.
By none of those projects I experienced this error. It only occurs, if I import the complete settings from my 6.
installation, which I first updated to the new patch 2.

Also I tried to copy one after another of the folders from *\.netbeans\6.1\config\ which were missing in the fresh
\.netbeans\dev\config\. But also here the error didn't occur.

BTW: playing around with all those possibilities was just big fun due to the enhanced startup time of NB 6.1. :-)
I started the dev IDE more tha 20 times.
Comment 10 ulfzibis 2008-07-10 21:12:26 UTC
1 extra thought:
My 6.1 installation is a "full" installation, but disabled J2EE, Ruby, SOA, GlassFish and Tomcat packages.
There is also 1 UML-Project loaded.
My dev installation is only a simple J2SE installation package. So I couldn't open this project by hand. So maybe this
is the cause of the error. The UML-Project was listed in the project browser after import from 6.1.
... but after 1..2 minutes it was unloaded automatically.

Now I also installed 6.5M1 J2SE package on the new JDK6u7, and imported the settings from 6.1. Here the UML Project was
not listed in the project browser, an the error didn't occur.

Comment 11 ulfzibis 2008-07-10 21:29:18 UTC
Now I think, I have it definitely ;-)
I've overseen 1 project, which was loaded in the 6.1 IDE, named "ObjectBridge". If requires another project, named
"Java-Persistence".

The dev build (200806240008) didn't load "ObjectBridge", but "Java-Persistence".
After trying to load "ObjectBridge" by hand, I had this error just as well. OK, I will attach this project.
Comment 12 ulfzibis 2008-07-10 21:32:13 UTC
Created attachment 64274 [details]
project "ObjectBridge"
Comment 13 Michel Graciano 2008-07-16 01:28:22 UTC
Which are the things will be imported? Things that should be imported:
. favorites
. toolbar shortcuts
. opened files
. palette

Regards
Comment 14 Jan Stola 2008-07-24 15:49:13 UTC
*** Issue 141370 has been marked as a duplicate of this issue. ***
Comment 15 Jiri Skrivanek 2008-08-04 14:20:22 UTC
Import patterns updated according to http://wiki.netbeans.org/NB65SettingsMigration which should be final now. If you
encounter some problem while importing setttings, please file a new issue.

http://hg.netbeans.org/core-main/rev/d5879ff3cb46
Comment 16 Lukas Hasik 2008-08-04 16:12:27 UTC
issue has been fixed with revision 27 of the document
http://wiki.netbeans.org/NB65SettingsMigration?version=27
Comment 17 Roman Mostyka 2008-08-04 17:58:38 UTC
Verified with build 080804.
Comment 18 Quality Engineering 2008-08-05 16:40:17 UTC
Integrated into 'main-golden', available in build *200808051401* on http://bits.netbeans.org/dev/nightly/
Changeset: http://hg.netbeans.org/main/rev/d5879ff3cb46
User: Jiri Skrivanek <jskrivanek@netbeans.org>
Log: #135356 - import patterns updated according to http://wiki.netbeans.org/NB65SettingsMigration.
Comment 19 Lukas Hasik 2008-08-19 10:39:49 UTC
reopening to remind Jirka about some other changes in the document http://wiki.netbeans.org/NB65SettingsMigration

Please, fix a few days before Code Freeze (9/15). 
thank you
Comment 20 Jiri Skrivanek 2008-09-04 11:21:10 UTC
Import patterns updated according to the latest state of http://wiki.netbeans.org/NB65SettingsMigration.

Comment 21 Quality Engineering 2008-09-05 06:21:22 UTC
Integrated into 'main-golden', will be available in build *200809050201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/8cbb26586508
User: Jiri Skrivanek <jskrivanek@netbeans.org>
Log: #135356 - import patterns updated according to http://wiki.netbeans.org/NB65SettingsMigration.
Comment 22 Roman Mostyka 2008-09-11 11:17:22 UTC
Verified with build 080910.