forked from Homebrew/homebrew-cask
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patheclipse-jee.rb
22 lines (18 loc) · 925 Bytes
/
eclipse-jee.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
cask 'eclipse-jee' do
version '4.13.0,2019-09:R'
sha256 'a00560e520107334f7dab0f9463a6687f66cc3e325fa75e439c2004d3dd382e5'
url "https://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/#{version.after_comma.before_colon}/#{version.after_colon}/eclipse-jee-#{version.after_comma.before_colon}-#{version.after_colon}-macosx-cocoa-x86_64.dmg&r=1"
name 'Eclipse IDE for Java EE Developers'
homepage 'https://eclipse.org/'
# Renamed to avoid conflict with other Eclipse.
app 'Eclipse.app', target: 'Eclipse JEE.app'
zap trash: [
'~/Library/Caches/org.eclipse.platform.ide',
'~/Library/Cookies/org.eclipse.platform.ide.binarycookies',
'~/Library/Preferences/org.eclipse.platform.ide.plist',
'~/Library/Saved Application State/org.eclipse.platform.ide.savedState',
]
caveats do
depends_on_java
end
end