Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

There are different update centers, referencing different kinds of NBM files, each has different factors to consider per release in relation to needing to be changed or upgraded.

NameDescriptionStatusURLNotes
NetBeans DistributionContains NBMs of all modules in the build. 
https://builds.apache.org/job/netbeans-linux/lastSuccessfulBuild/artifact/nbbuild/nbms/updates.xml.gz?{$netbeans.hash.code}

This update center is needed because...

The $netbeans.hash.code means...

NetBeans Plugin PortalContains NBMs of the Plugin Portal.
http://netbeans-vm.apache.org/pluginportal/data/latest/catalog-experimental.xml.gzThere is a redirect for this because...
8.2 Plugin PortalContains NBMs for 8.2, e.g., C/C++ features.
http://updates.netbeans.org/netbeans/updates/8.2/uc/final/distribution/catalog.xml.gzInclude it but 'disabled', until C/C++ becomes standard part of Apache NetBeans, to simplify installation of C/C++ features.
3rd Party Libraries

Contains the signed
binaries of JavaFX libraries, exclude these and the result will be: 

Jira
serverASF JIRA
serverId5aa69414-a9e9-3523-82ec-879b028fb15b
keyNETBEANS-2132
.




From: Apache NetBeans Release README:

Once release is synchronized across all download mirrors it is necessary to update redirect for release modules to final location:

  1. Login to NetBeans virtual machine where redirect is configured: ssh <your_apache_id>@netbeans-vm.apache.org
  2. Become root using e.g. OTP MD5 online encryption: sudo /bin/bash

    Code Block
    languagebash
    themeMidnight
    sudo /bin/bash
    cd /var/www/html/uc/
    mkdir 11.0
    cd 11.0/
    curl https://dist.apache.org/repos/dist/release/incubator/netbeans/incubating-netbeans/incubating-11.0/nbms/updates.xml.gz -o updates.xml.gz
    echo ' RedirectMatch ^/uc/11.0/(.*)(\?.*)?$ http://www.apache.org/dyn/closer.lua?action=download&filename=incubator/netbeans/incubating-netbeans/incubating-11.0/nbms/$1' > .htaccess
    # Update the previous version UC 
    cd ../10.0/
    echo 'RedirectMatch ^/uc/10.0/(.*)(\?.*)?$ https://archive.apache.org/dist/incubator/netbeans/incubating-netbeans/incubating-10.0/nbms/$1' > .htaccess
    vim updates.xml.gz


  3. Modify updates.xml.gz file of previous release to contain:

    Code Block
    languagexml
    themeMidnight
    <notification url="https://netbeans.apache.org/download/index.html">Apache NetBeans IDE 11.0 is available!</notification>

      element in its <module_updates> root element.