You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2022/10/13 21:28:06 UTC

[GitHub] [netbeans] FarmGeek4Life opened a new issue, #4787: Update to nbi.engine-external-binaries is needed (not part of the automated builds?)

FarmGeek4Life opened a new issue, #4787:
URL: https://github.com/apache/netbeans/issues/4787

   ### Apache NetBeans version
   
   Apache NetBeans 15
   
   ### What happened
   
   Two issue/bug reports with the Windows installer have been reported since NetBeans 11, and while there have been fixes merged for them, they still are not part of the new installers because the binaries are not built and used automatically, apparently. This library has not received many updates since NetBeans 11, but also has not been re-compiled/re-packaged for http://netbeans.osuosl.org/binaries/ since NetBeans 11.
   
   Lars Bruun-Hansen mentioned a couple fix options [here](https://issues.apache.org/jira/browse/NETBEANS-2523), in the second-to-last comment.
   
   The reason why this is a problem: a bad registry value is written by the installer, which then breaks multiple tools that scan the Windows 'Uninstall' registry key. Every time I install a new version of NetBeans, I have to manually edit the registry to fix the bad registry value, or else the desktop configuration management software at my place of work tries to re-install software that is already installed on my computer, 3 times a day. They could probably make the desktop configuration management software more robust, but it's not the program writing a bad (corrupt) value to the Windows Registry. 
   
   I know the bug reports are still open, but nothing seems to be happening to resolve this issue. Lars Bruun-Hansen mentions both a 'quick-and-dirty fix' and a more desirable fix, but neither one has happened, and one of them needs to be done. It appears that the previous versions were all the 'quick-and-dirty fix' method, since no change tracking information is included with the zip archive.
   
   Links to the issues and fixes, which also contain more details:
   https://issues.apache.org/jira/browse/NETBEANS-2523
   https://github.com/apache/netbeans/pull/1844
   https://issues.apache.org/jira/browse/NETBEANS-3094
   https://github.com/apache/netbeans/pull/1504
   
   This package is referenced here: https://github.com/apache/netbeans/tree/master/harness/libs.nbi.engine/external
   
   ### How to reproduce
   
   Run the installer for any windows version of NetBeans since NetBeans 11, then check the registry at HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\nbi-nb-all-15.0.0.220826.0 (or proper path for the version installed). There will be a registry DWORD key there, 'NoModify', where the registry will display the data as '(invalid DWORD (32-bit) value)', because the currently used binaries are writing a 64-bit value instead of a 32-bit value. https://issues.apache.org/jira/browse/NETBEANS-2523 is the original bug report for this issue, and https://github.com/apache/netbeans/pull/1844 is the pull request that fixes the bug in the code, but that code has not been compiled and uploaded to a compatible package to replace the existing binary zip bundle used in the build process.
   
   ### Did this work correctly in an earlier version?
   
   No / Don't know
   
   ### Operating System
   
   Windows 10
   
   ### JDK
   
   JDK 11 64-bit
   
   ### Apache NetBeans packaging
   
   Apache NetBeans provided installer
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit a pull request?
   
   No
   
   ### Code of Conduct
   
   Yes


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] neilcsmith-net commented on issue #4787: Update to nbi.engine-external-binaries is needed (not part of the automated builds?)

Posted by GitBox <gi...@apache.org>.
neilcsmith-net commented on issue #4787:
URL: https://github.com/apache/netbeans/issues/4787#issuecomment-1283862330

   The only thing that stops there being a community Windows installer _without_ JDK right now is that the Windows launcher no longer seems to find a JDK when `--jdkhome` isn't set.  Let's fix that, which is also useful for non-installed zip usage.
   
   After that, nothing in principle stops us releasing NBPackage built installers without JDK directly via ASF channels, should anyone want to join in with that plan?!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] mbien commented on issue #4787: Update to nbi.engine-external-binaries is needed (not part of the automated builds?)

Posted by GitBox <gi...@apache.org>.
mbien commented on issue #4787:
URL: https://github.com/apache/netbeans/issues/4787#issuecomment-1283844040

   although I personally don't use installers for NB, I do like the idea of the community bundles since they contain a recent JDK too which removes an entire category of "wrong env setup" issues. It does also provide a very good out-of-the-box experience, since a student for example would program against the most recent JDK with the first new project s(he) creates.
   
   So if the windows installer is causing issues and there is lack of interest in maintaining it (like with the linux installer), lets remove it too and feature the community bundles a bit more prominently, because I have the feeling they are often overlooked.
   
   I would also like to take a look if its possible the zip release a bit more self sufficient. E.g if it could offer a runtime JDK download if someone tries to launch the zip on an unsupported JDK - this would bring the zip really close to bundles and bring us a tiny step closer to the removal of nb-javac.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] ebarboni commented on issue #4787: Update to nbi.engine-external-binaries is needed (not part of the automated builds?)

Posted by GitBox <gi...@apache.org>.
ebarboni commented on issue #4787:
URL: https://github.com/apache/netbeans/issues/4787#issuecomment-1278985721

   Well maybe I could try to setup that like the windows launcher. There is a macos stuff too. Maybe this is needed.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] neilcsmith-net commented on issue #4787: Update to nbi.engine-external-binaries is needed (not part of the automated builds?)

Posted by GitBox <gi...@apache.org>.
neilcsmith-net commented on issue #4787:
URL: https://github.com/apache/netbeans/issues/4787#issuecomment-1278936539

   As a workaround you could look at the community installers - they are not based on NBI, but the Windows installers does come with a local JDK runtime.  I've been looking at the possibility of a JDK-free Windows installer using NBPackage that we could distribute via ASF.
   
   On the NBI side, someone probably needs to look at build, vote and publish of this to Maven IMO, like the Windows launcher, if we're going to keep NBI support for Windows going.  We've already dropped releasing with NBI on Linux.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] ebarboni commented on issue #4787: Update to nbi.engine-external-binaries is needed (not part of the automated builds?)

Posted by GitBox <gi...@apache.org>.
ebarboni commented on issue #4787:
URL: https://github.com/apache/netbeans/issues/4787#issuecomment-1288912362

   I'm not sure there is a lack of maintenance. The fix is there for many months.
   Our build system is the issue, all the externals that are our own packaged sources/bin populated to osuosl is the issue.
   I think we have;
   1. debugger,installer, that is build from our source with the issue to get all the target platform 😄 
   2. 3rd party sources + "own" patches populated generated to bin (osgi stuff)
   3. Others utility for html / php
   
   
   For installer using community if you tell me how to do that for a custom platform using nbm plugin and if it ease all the process I will be totally up


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists