diff options
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/glassfish.rb | 23 |
1 files changed, 15 insertions, 8 deletions
diff --git a/Library/Formula/glassfish.rb b/Library/Formula/glassfish.rb index 53c55ccaf..004248450 100644 --- a/Library/Formula/glassfish.rb +++ b/Library/Formula/glassfish.rb @@ -1,22 +1,29 @@ require 'formula' class Glassfish < Formula - homepage 'http://glassfish.java.net/' - url 'http://download.java.net/glassfish/3.1.2.2/release/glassfish-3.1.2.2.zip' - sha1 '627e67d7e7f06583beb284c56f76456913461722' + homepage 'https://glassfish.java.net' + url 'http://download.java.net/glassfish/4.0/release/glassfish-4.0.zip' + sha1 'daca9808d80df35b26cd9545a84e8324ed34fe7e' # To keep empty folders around skip_clean 'libexec' def install rm_rf Dir['bin/*.bat'] - libexec.install Dir["*"] libexec.install Dir[".org.opensolaris,pkg"] - bin.write_exec_script Dir["#{libexec}/bin/*"] + end + + def caveats; <<-EOS.undent + The home of GlassFish Application Server 4 is: + #{opt_prefix}/libexec + + You may want to add the following to your .bash_profile: + export GLASSFISH_HOME=#{opt_prefix}/libexec + export PATH=${PATH}:${GLASSFISH_HOME}/bin - inreplace "#{libexec}/bin/asadmin" do |s| - s.change_make_var! 'AS_INSTALL', "#{libexec}/glassfish" - end + Note: The support scripts used by GlassFish Application Server 4 + are *NOT* linked to bin. + EOS end end |
