From 6a261a7b4f087a65d43d6352d5a9c007faa8ce1e Mon Sep 17 00:00:00 2001 From: CoreCode Date: Thu, 8 Aug 2019 13:14:44 +0200 Subject: [PATCH] Update netbeans to 11.1 (#67003) * Update netbeans.rb * Update netbeans.rb * Update netbeans.rb * Update netbeans.rb --- Casks/netbeans.rb | 31 ++++++------------------------- 1 file changed, 6 insertions(+), 25 deletions(-) diff --git a/Casks/netbeans.rb b/Casks/netbeans.rb index b63a0885f65..22912f49e68 100644 --- a/Casks/netbeans.rb +++ b/Casks/netbeans.rb @@ -1,32 +1,13 @@ cask 'netbeans' do - version '8.2' - sha256 'ddcf37e91d960cca6b6a37c95eabf2c6f15330ed708bfd79be796de00da20e5e' + version '11.1' + sha256 '081d564e6b0c3b7aabd906a699de42fe5fff73b1e5e8ed3977afa0010d0b2f33' - url "https://download.netbeans.org/netbeans/#{version}/final/bundles/netbeans-#{version}-macosx.dmg" + url "https://www-eu.apache.org/dist/netbeans/netbeans/#{version}/Apache-NetBeans-#{version}-bin-macosx.dmg" + appcast 'https://www-eu.apache.org/dist/netbeans/netbeans/' name 'NetBeans IDE' - homepage 'https://netbeans.org/' + homepage 'https://netbeans.apache.org/download/index.html' - pkg "NetBeans #{version}.pkg" - - # Theoretically this uninstall could conflict with a separate GlassFish - # installation. - # - # In practice, it appears that the normal GlassFish installation process does - # not use the macOS installer and so isn't in the pkgutil receipts database. - # - # https://glassfish.java.net/docs/4.0/installation-guide.pdf - # - # Arguably if the GlassFish installation by NetBeans inside its own target - # directory were to conflict with a standard GlassFish installation in the - # receipts database that would be a bug upstream with NetBeans not prefixing - # its GlassFish package with "org.netbeans." - # - # If this ever becomes an issue, pkgutil: 'glassfish.*' could be moved to a - # separate "zap" stanza. - # - # The NetBeans installer does some postflight unpacking of paths installed by - # the macOS installer, so it's insufficient to just delete the paths exposed - # by pkgutil, hence the additional ":delete" option below. + pkg "Apache NetBeans #{version}.pkg" uninstall pkgutil: 'org.netbeans.ide.*|glassfish.*', delete: '/Applications/NetBeans'