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.
Netbeans build was installed from installer. Settings were imported from Netbeans 3.4 in installation. When the ide is runned with the empty userdir the Import panel shows message "The import procedure has failed" and "Start IDE" button is enabled. No other panel was shown.
Richard, can you look at it ? Thanks in advance.
It doesn't look like problem of installer. Installer only inform ISW where to find setings to import. It looks like that ISW knows that it should import settings but has some problem. Form my point of view it is problem of core upgrade.
Did it happen really with 3.5 installer? I've seen this too, but with dev installer.
Milan, it happens in nb35.
I'm skeptic about this but will look at it. There was no change related to this issue in upgrade wizard, so I would say that if this worked in previous version it should work now as well.
The problem is in installer. Actually there are two problems. I was using NetBeansIDE-release35-200304102350-win32.exe installer. The first problem is that installer for some reason copies system directory from the old userdir into the new one. That's wrong! This is task of Import Settings wizard. The second problem is that file "upgrade.properties" (generated by installer to NB3.5 installation folder) which contains information for Import Settings wizard automatic upgrade are corrupted. It contains: VERSION=null- User Directory BACKUP_FOLDER=C:\Documents and Settings\dk125166\.netbeans\3.4 and as you can see the version is invalid. That's the reason why the Import Settings wizard fails.
Thanks for dicovery. Copying system directory was consulted with Vita as I know when import in installer was designed. I'm investigating problem with version number. BTW Peter don't you think it should be P1?
Bad version is there only if user didn't run previuos version of IDE. Version is read from ide.log.
Raising prio, since it's likely that user will use -userdir argument to change default userdir location and it fails.
upgrade.properties file is created even if user doesn't do any import during installation. Content of upgrade.properties which has been created on my system without importing settings is: VERSION=null- User Directory BACKUP_FOLDER=null
1) installer will not copy system dir form former userdir 2) installer will not detect userdirs without system/ide.log because such installation don't have an settings, weren't run
Created attachment 9899 [details] diff of changes
Fixed in main trunk. Checking in src/org/netbeans/installer/actions/DetectAction.java; /cvs/installer/src/org/netbeans/installer/actions/DetectAction.java,v <-- DetectAction.java new revision: 1.10; previous revision: 1.9 done Checking in src/org/netbeans/installer/actions/ImportSettingsAction.java; /cvs/installer/src/org/netbeans/installer/actions/ImportSettingsAction.java,v <-- ImportSettingsAction.java new revision: 1.3; previous revision: 1.2 done Checking in src/org/netbeans/installer/actions/WriteAction.java; /cvs/installer/src/org/netbeans/installer/actions/WriteAction.java,v <-- WriteAction.java new revision: 1.14; previous revision: 1.13 done
Diff reviewed without objections.
I am waiting for verification....
Fix verified on dev build installer, approved.
Peter, can you verify, please , thanks :)
verified in trunk.
approved for 3.5
Fixed in release35. Checking in src/org/netbeans/installer/actions/DetectAction.java; /cvs/installer/src/org/netbeans/installer/actions/DetectAction.java,v <-- DetectAction.java new revision: 1.7.2.2; previous revision: 1.7.2.1 done Checking in src/org/netbeans/installer/actions/ImportSettingsAction.java; /cvs/installer/src/org/netbeans/installer/actions/ImportSettingsAction.java,v <-- ImportSettingsAction.java new revision: 1.2.2.1; previous revision: 1.2 done Checking in src/org/netbeans/installer/actions/WriteAction.java; /cvs/installer/src/org/netbeans/installer/actions/WriteAction.java,v <-- WriteAction.java new revision: 1.11.2.2; previous revision: 1.11.2.1 done
For me it works with NetBeansIDE-release35-200304142350-win32.exe so I'm glad I could verify it:-)