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.
Since the installer does not allow the user to choose which version of NB to install to if he has multiple versions installed, it should at least pick the newest version present, and perhaps allow the user to override this using command-line argument?
I need list of acceptable NB version for every Profiler installer. I assume: 1.Profiler from release40 branch only NB 4.0 FCS should be acceptable. ie no change is necessary. 2.Profiler from release41 branch 4.1dev, 4.1beta, 4.1rcX and 4.1 FCS is acceptable. Last in this list should be selected as first. 3.Profiler from trunk should accept only NB 4.2 dev ie. no change is necessary. Is it correct?
Going to make generic support for this. Profiler installer from trunk will accept all known NB version > NB 4.0 ie. NB 4.1 dev,...NB 4.1 FCS, NB 4.2 dev. UI will be similar to JDK Selection Panel from NB installer.
Fixed in main trunk. NetBeans IDE 4.1 or newer is required. NbSelection panel now displays all found NetBeans IDEs with version >= 4.1. In addition it is necessary to define what version of IDE will be accepted by verification routine, If some list of version will be defined or if all version higher than minimum required version will be accepted. (Verification check presence of NetBeans cluster directory which is now "nb4.1". We can assume that any new name will be greater or equal alphabetically ie. "new cluster dir name" >= "nb4.1".) if we allow all higher version we accept strong commitment that this version of profiler will run on all versions of IDE which is not possible to fullfill IMO. Modified: /cvs/installer/lib/nbproject/genfiles.properties new revision: 1.11; previous revision: 1.10 /cvs/installer/lib/src/org/netbeans/installer/cluster/NbSearchAction.java initial revision: 1.1 /cvs/installer/lib/src/org/netbeans/installer/cluster/NbSelectionPanel.java initial revision: 1.1 /cvs/installer/profiler/profiler-linux.xml new revision: 1.11; previous revision: 1.10 /cvs/installer/profiler/profiler-solaris-sparc.xml new revision: 1.11; previous revision: 1.10 /cvs/installer/profiler/profiler-solaris-x86.xml new revision: 1.11; previous revision: 1.10 /cvs/installer/profiler/profiler-windows.xml new revision: 1.11; previous revision: 1.10 /cvs/installer/profiler/src/org/netbeans/installer/cluster/Bundle.properties new revision: 1.12; previous revision: 1.11 /cvs/installer/profiler/src/org/netbeans/installer/cluster/NetBeansDirChooserPanel.java new revision: 1.4; previous revision: 1.3
NB version for verification NB dir and search of NB dir is limited by interval now. User messages list required versions 4.1, 4.2 and 5.0. It must be modified when interval of required NB versions in modified. Modified: /cvs/installer/lib/src/org/netbeans/installer/cluster/NbSearchAction.java new revision: 1.2; previous revision: 1.1 /cvs/installer/lib/src/org/netbeans/installer/cluster/NbSelectionPanel.java new revision: 1.2; previous revision: 1.1 /cvs/installer/profiler/src/org/netbeans/installer/cluster/Bundle.properties new revision: 1.13; previous revision: 1.12 /cvs/installer/profiler/src/org/netbeans/installer/cluster/NetBeansDirChooserPanel.java new revision: 1.5; previous revision: 1.4