On Sun, 28 Jan 2018 23:49:23 -0800 Laszlo Kishalmi <[email protected]> wrote:
> Hi there! > > Is there anyone knows how to build release grade artifacts from the > code? I'm just being curious, being a build engineer by my trade. > I've seen that buildnumber and buildnum are being used in some parts > of the process to add some build/version related information to the > artifacts. But otherwise they are marked as dev. I have been looking into versioning. Mostly on modules, and still missing suffix parts of the version. I have most taken care of, but some still missing trailing bits. Like for core.startup Installed version: 1.63.0 Available version: 1.63.0.1 Or editor Installed version: 1.88.0.6 Available version: 1.88.0.6.3.23.55 I have the same versions most times as upstream but they show as updates since my versioning is off.... > I mean, do we know, how we create: > > 1. Beta, RC, etc. Splash Screen Images > 2. Launcher defaults to dev, 9.0beta, 9.0rc user dirs > 3. Change the main JFrame title according to the release It seems to be in many locations and looked up from various things. https://github.com/apache/incubator-netbeans/search?utf8=%E2%9C%93&q=%22Apache+NetBeans+Platform%22&type= Seems to be ide.kit, ide.branding, along with core.startup and o.n.core https://github.com/apache/incubator-netbeans/search?l=Java&p=1&q=currentVersion&type=&utf8=%E2%9C%93 https://github.com/apache/incubator-netbeans/search?l=INI&q=currentVersion&type=&utf8=%E2%9C%93 I have not packaged ide.branding, so not sure where that provides. I am still hunting myself for my version #201801182126 https://www.enlightenment.org/ss/e-5a6f8dee17eb04.80922595.jpg I have seen be based off OpenIDE-Module-Build-Version: "OpenIDE-Module-Build-Version: 9.0_beta_rc1-os-xtoo" When it was alpha it showed up from that. https://www.enlightenment.org/ss/e-5a20b8eb0b3e91.03603173.jpg https://www.enlightenment.org/ss/e-5a20bf75cc4179.53467093.jpg There are a couple modules I set a date on for the build version https://github.com/Obsidian-StudiosInc/os-xtoo/blob/master/dev-java/nb-cmake-completion/files/MANIFEST.MF#L4 https://github.com/Obsidian-StudiosInc/os-xtoo/blob/master/dev-java/nb-darcula/files/MANIFEST.MF#L4 Which it seems to be using that in my case. The only place I can find my build version showing in IDE logs and UI is in this module... Makes no sense why it would take over entire version but seems it does.... wlt@ws ~/.netbeans $ grep -r 201801182126 * dev_min/var/log/messages.log: Product Version = Apache NetBeans Platform Dev (Build 201801182126) dev_min/var/log/messages.log: bv.offa.CMakeCompletion [0.1.2 0.1.2 201801182126] -- William L. Thomson Jr.
pgpanw_u4DJxw.pgp
Description: OpenPGP digital signature
