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 55418 - Install the profiler cluster in the newest version of netbeans present
Summary: Install the profiler cluster in the newest version of netbeans present
Status: RESOLVED FIXED
Alias: None
Product: installer
Classification: Unclassified
Component: Code (show other bugs)
Version: 4.x
Hardware: PC All
: P3 blocker (vote)
Assignee: mslama
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-23 14:30 UTC by iformanek
Modified: 2005-09-05 10:00 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description iformanek 2005-02-23 14:30:16 UTC
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?
Comment 1 mslama 2005-04-28 13:31:58 UTC
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?
Comment 2 mslama 2005-04-28 13:53:51 UTC
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.
Comment 3 mslama 2005-06-26 15:25:24 UTC
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
Comment 4 mslama 2005-06-28 11:33:02 UTC
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