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 123701 - Is it better to provide a warning message that NetBeans will not be installed?
Summary: Is it better to provide a warning message that NetBeans will not be installed?
Status: RESOLVED FIXED
Alias: None
Product: installer
Classification: Unclassified
Component: JDK bundle (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: dlipin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-09 14:30 UTC by Masaki Katakai
Modified: 2007-12-11 00:16 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Masaki Katakai 2007-12-09 14:30:22 UTC
I tried Java6u3 and NB6 bundle installer. My system has NetBeans 6.0 already.
It seems that the installer will install only Java6u3 in that care (is it correct?).
However I didn't see any message from the installer during the wizard:

- Installer detects that NetBeans 6.0 has been already installed on this system
- So this installer will not install NetBeans 6.0

I think these messages are needed to users.
Comment 1 dlipin 2007-12-09 14:58:40 UTC
Yes, it should be there according to the spec:
http://ui.netbeans.org/docs/hi/nbi/nbi-ui-spec.html
Comment 2 dlipin 2007-12-10 15:13:35 UTC
Fixed in dev builds (trunk) and branch for NB6.0/JDK bundles (release60-jdk)

http://installer.netbeans.org/source/browse/installer/engine/src/org/netbeans/installer/wizard/components/panels/
netbeans/Bundle.properties?r1=1.36.2.5.2.2&r2=1.36.2.5.2.3
http://installer.netbeans.org/source/browse/installer/engine/src/org/netbeans/installer/wizard/components/panels/
netbeans/NbWelcomePanel.java?r1=1.27.2.1.2.1&r2=1.27.2.1.2.2

http://installer.netbeans.org/source/browse/installer/engine/src/org/netbeans/installer/wizard/components/panels/
netbeans/NbWelcomePanel.java?r1=1.31&r2=1.32
http://installer.netbeans.org/source/browse/installer/engine/src/org/netbeans/installer/wizard/components/panels/
netbeans/Bundle.properties?r1=1.44&r2=1.45
Comment 3 Masaki Katakai 2007-12-10 15:24:36 UTC
Thanks for fixing, Dmitry.

It seems that the message file is updated. Will it be into release60 branch? Because g11n team is using release60 branch
to get English files to be localized. Any idea? After you very the trunk, it will be into release60 branch?
Comment 4 dlipin 2007-12-10 16:18:03 UTC
Yes, it is now in release60 as well.
But be aware of the fact that for NB6.0/JDK bundle (release60-jdk branch) different branding (images and messages) is 
used.



Checking in NbWelcomePanel.java;
/cvs/installer/engine/src/org/netbeans/installer/wizard/components/panels/netbeans/NbWelcomePanel.java,v  <--  
NbWelcomePanel.java
new revision: 1.27.2.2; previous revision: 1.27.2.1
done
Checking in Bundle.properties;
/cvs/installer/engine/src/org/netbeans/installer/wizard/components/panels/netbeans/Bundle.properties,v  <--  
Bundle.properties
new revision: 1.36.2.7; previous revision: 1.36.2.6
done
Comment 5 Masaki Katakai 2007-12-11 00:16:12 UTC
Thanks, I understand.

Usually BE will copy the right files to the branch from release60 branch after our ml release and will update some
version strings, then start the build.