homebrew-core/Formula/glassfish.rb
Andrew Janke 88e2944aca glassfish: fix URL
Closes Homebrew/homebrew#42499.

Signed-off-by: Alex Dunn <dunn.alex@gmail.com>
2015-08-05 20:47:32 -07:00

26 lines
741 B
Ruby

require "formula"
class Glassfish < Formula
desc "Java EE application server"
homepage "https://glassfish.java.net"
url "http://download.java.net/glassfish/4.1/release/glassfish-4.1.zip"
sha256 "3edc5fc72b8be241a53eae83c22f274479d70e15bdfba7ba2302da5260f23e9d"
def install
rm_rf Dir["bin/*.bat"]
libexec.install Dir["*", ".org.opensolaris,pkg"]
end
def caveats; <<-EOS.undent
The home of GlassFish Application Server 4 is:
#{opt_libexec}
You may want to add the following to your .bash_profile:
export GLASSFISH_HOME=#{opt_libexec}
export PATH=${PATH}:${GLASSFISH_HOME}/bin
Note: The support scripts used by GlassFish Application Server 4
are *NOT* linked to bin.
EOS
end
end