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 251035 - Dev build number is 1
Summary: Dev build number is 1
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 8.1
Hardware: PC Windows 7
: P1 normal (vote)
Assignee: Svata Dedic
URL:
Keywords:
: 251128 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-03-09 14:38 UTC by _ gtzabari
Modified: 2015-03-27 03:21 UTC (History)
3 users (show)

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 _ gtzabari 2015-03-09 14:38:53 UTC
Product Version: NetBeans IDE Dev (Build 1)
Java: 1.8.0_31; Java HotSpot(TM) 64-Bit Server VM 25.31-b07
Runtime: Java(TM) SE Runtime Environment 1.8.0_31-b13
System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
User directory: C:\dev\Netbeans\user\dev
Cache directory: C:\dev\Netbeans\cache\dev

I downloaded the dev build on March 9th, 2015 and the titlebar and "About" dialog report a build number of 1.

I assume this is a bug?

I set priority to P1 because this affects all future bugs.
Comment 1 pgebauer 2015-03-11 14:00:37 UTC
The problem doesn't seem to be related to the build infrastructure. There were not changes in the infrastructure when the problem appears. The problem is caused by changes between http://hg.netbeans.org/main-silver/rev/cacbfb5c52c9 and http://hg.netbeans.org/main-silver/rev/0596fb2cd72b very likely in the module core.startup.
Comment 2 Ondrej Vrabec 2015-03-11 14:03:18 UTC
core.startup split
Comment 3 Jiri Skrivanek 2015-03-12 11:58:03 UTC
*** Bug 251128 has been marked as a duplicate of this bug. ***
Comment 4 Svata Dedic 2015-03-20 12:18:42 UTC
Seems to work fine in dev build from 20th March.
Comment 5 _ gtzabari 2015-03-21 17:01:19 UTC
Doesn't work for me. March 20th build (with clean userdir) is still labeled build 1.
Comment 6 Ondrej Vrabec 2015-03-22 09:21:38 UTC
Reproduced - on Windows. March 21 NB, full distro with ergonomics:
Product Version: NetBeans IDE Dev (Build 1)
Java: 1.8.0; Java HotSpot(TM) 64-Bit Server VM 25.0-b69
Runtime: Java(TM) SE Runtime Environment 1.8.0-b128
System: Windows 7 version 6.1 running on amd64; Cp1252; cs_CZ (nb)
User directory: C:\Users\Ondra\AppData\Roaming\NetBeans\dev123
Cache directory: C:\Users\Ondra\AppData\Local\NetBeans\Cache\dev123

run with clean fresh userdir.
Comment 7 Svata Dedic 2015-03-23 09:51:23 UTC
Got it. The startup code was confused by implementation dependencies between core & core-base mods: core-base contains manually entered OpenIDE-Module-Implementation-Version but startup code expects Implvers. autogenerated from build number & changeset.

Incidentally the relative order of core & core-base on classpath is different on Windows and [my] Linux, so on my machine, the startup code first enumreated manifest value from core.jar, which is the autogenerated one.


Should be fixed by jet-main#a715e12969c5
Comment 8 Quality Engineering 2015-03-27 03:21:55 UTC
Integrated into 'main-silver', will be available in build *201503270001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/a715e12969c5
User: Svata Dedic <sdedic@netbeans.org>
Log: #251035: read and prefer Build-Version attribute over Impl-version for product build number