30 lines
880 B
Ruby
30 lines
880 B
Ruby
class JbossAs < Formula
|
|
desc "JBoss Application Server"
|
|
homepage "https://jbossas.jboss.org/"
|
|
url "https://download.jboss.org/jbossas/7.1/jboss-as-7.1.1.Final/jboss-as-7.1.1.Final.tar.gz"
|
|
version "7.1.1.Final"
|
|
sha256 "88fd3fdac4f7951cee3396eff3d70e8166c3319de82d77374a24e3b422e0b2ad"
|
|
|
|
bottle :unneeded
|
|
|
|
def install
|
|
rm_f Dir["bin/*.bat"]
|
|
libexec.install Dir["*"]
|
|
end
|
|
|
|
def caveats; <<-EOS.undent
|
|
The home of JBoss Application Server 7 is:
|
|
#{opt_libexec}
|
|
|
|
You may want to add the following to your .bash_profile:
|
|
export JBOSS_HOME=#{opt_libexec}
|
|
export PATH=${PATH}:${JBOSS_HOME}/bin
|
|
|
|
Note: The support scripts used by JBoss Application Server 7 have
|
|
very generic names. These are likely to conflict with support scripts
|
|
used by other Java-based server software. Hence they are *NOT* linked
|
|
to bin.
|
|
EOS
|
|
end
|
|
end
|