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 129610 - Wrong link to NB 6.0 in NB 6.0.1
Summary: Wrong link to NB 6.0 in NB 6.0.1
Status: VERIFIED INVALID
Alias: None
Product: javame
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 blocker with 1 vote (vote)
Assignee: issues@mobility
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-08 22:13 UTC by ulfzibis
Modified: 2008-03-17 15:56 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Wrong link to NB 6.0 (12.07 KB, image/jpeg)
2008-03-08 22:14 UTC, ulfzibis
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ulfzibis 2008-03-08 22:13:09 UTC
See attachment.

I installed NB 6.0.1 having NB 6.0 installed.

After uninstalling recent NB 6.0 the link would be unvalid.

Also I'm wondering that NB 6.0.1 uses .netbeans\6.0\ instead of .netbeans\6.0.1\
Comment 1 ulfzibis 2008-03-08 22:14:29 UTC
Created attachment 58029 [details]
Wrong link to NB 6.0
Comment 2 ulfzibis 2008-03-09 13:31:43 UTC
Attention: Wondering about netbeans_default_userdir="${HOME}/.netbeans/6.0"
... is not mobility component. ;-)
Comment 3 dlipin 2008-03-09 19:35:57 UTC
... and not installer, anyway.
See also 
http://wiki.netbeans.org/wiki/view/NB601BrandingChecklist
Comment 4 ulfzibis 2008-03-09 22:01:29 UTC
Thanks for the nice link.
-Ulf
Comment 5 Lukas Hasik 2008-03-09 22:19:17 UTC
snip from the NB601BrandingChecklist table:
Default user dir 	 ide/launcher/netbeans.conf 	 x 	 no change since 6.0: .netbeans/6.0

Ulf, the userdirs for 6.0 and 6.0.1 are same. It was marketing decision. 
(Anyway - good question... I was surprised as well)
Comment 6 ulfzibis 2008-03-14 18:13:57 UTC
Hi Lukas, I don't understand, why this issue was marked INVALID.

IMHO it is not correct, that NB 6.0.1 links to "C:\Program Files\NetBeans 6.0\mobility8\WTK2.5.2".
                       NB 6.0.1 should link to "C:\Program Files\NetBeans 6.0.1\mobility8\WTK2.5.2".
Comment 7 Lukas Hasik 2008-03-17 10:11:28 UTC
I'll describe the scenario
1, you have 6.0 IDE with its userdir (netbeans\6.0). It uses the default WTK2.5.2 platform that is in the 6.0 install dir.
2, you installed the 6.0.1 
3, uninstalling 6.0 will remove also the WTK but the platform description is still in the userdir that is being shared
by 6.0 and 6.0.1
4, the platform is invalid because you removed it (together with the whole IDE)

The result is correct. Missing platform directory == wrong platform. There is a simple workaround. Remove the
"corrupted" WTK platform and restart the IDE. If there is missing the default platform the IDE will add it
automatically. But it cannot replace the existing platform definition automatically even if the platform is wrong. It's
up to you.

Resolving issue 85263 would help in this case.
Comment 8 ulfzibis 2008-03-17 15:56:59 UTC
OK, there is a god reason not to chance values in the userdir automatically.
As a result of this issue it should not be appropriate, to install 6.0.1 if 6.0 is just installed.
It should be better to update 6.0 via the update center.
... but for me it was not possible because of issue 128848, so I tried to work around by installing 6.0.1.
So now I have modules java[1.0.2] and IDE platform[1.2.1] by NB 6.0.1, but I can't update to java[1.0.3] and IDE
platform[1.2.2] for the same reason, as issue 128848 is only resolved for NB 6.1.

> Remove the "corrupted" WTK platform
I think, you mean:
Remove the "corrupted" WTK platform _description_ (in the userdir) ;-)

> Resolving issue 85263 would help in this case.
Yes, it should be resolved *soon*.