Skip to content

Instantly share code, notes, and snippets.

@blub0hr
Last active February 28, 2025 13:34
Show Gist options
  • Save blub0hr/312dca77da6bc88f4d3c36bcd84b9e20 to your computer and use it in GitHub Desktop.
Save blub0hr/312dca77da6bc88f4d3c36bcd84b9e20 to your computer and use it in GitHub Desktop.
homebrew cask for older eclipse version
# https://docs.brew.sh/Cask-Cookbook
# https://www.eclipse.org/downloads/packages/release/2020-03/r
cask "eclipse-java-2020-03" do
version "2020-03"
sha256 "262c29ea38134360089232d8276fb479e3a9f70a5b1a6ffdf6463bc2aeac00f3"
url "https://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/#{version}/R/eclipse-java-#{version}-R-macosx-cocoa-x86_64.dmg&r=1"
name "Eclipse IDE for Java Developers"
desc "Eclipse IDE for Java developers"
homepage "https://eclipse.org/"
auto_updates false
# Renamed to avoid conflict with other Eclipse.
app "Eclipse.app", target: "Eclipse Java.app"
zap trash: [
"~/.eclipse",
"~/eclipse-workspace",
"~/Library/Preferences/epp.package.java.plist",
"~/Library/Saved Application State/epp.package.java.savedState",
]
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment