2017-03-19 10:32:40 +00:00
|
|
|
class JbossAsAT5 < Formula
|
|
|
|
desc "JBoss Application Server"
|
|
|
|
homepage "https://www.jboss.org/jbossas"
|
|
|
|
url "https://downloads.sf.net/project/jboss/JBoss/JBoss-5.1.0.GA/jboss-5.1.0.GA.zip"
|
|
|
|
version "5.1.0GA"
|
|
|
|
sha256 "be93bcb8f1ff03d7e64c98f2160a2415602268d84f44fb78cddb26303a8cbd3f"
|
|
|
|
|
2017-03-19 11:59:51 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any_skip_relocation
|
|
|
|
sha256 "ce777eb70f57573fbfb831feeff704791ef0cc9fa56ad8532499701d1457ea0f" => :sierra
|
|
|
|
sha256 "ce777eb70f57573fbfb831feeff704791ef0cc9fa56ad8532499701d1457ea0f" => :el_capitan
|
|
|
|
sha256 "ce777eb70f57573fbfb831feeff704791ef0cc9fa56ad8532499701d1457ea0f" => :yosemite
|
|
|
|
end
|
|
|
|
|
2017-03-19 10:32:40 +00:00
|
|
|
def install
|
|
|
|
rm_f Dir["bin/*.bat"]
|
|
|
|
libexec.install Dir["*"]
|
|
|
|
end
|
|
|
|
|
|
|
|
def caveats; <<-EOS.undent
|
|
|
|
The home of JBoss Application Server 5 is:
|
|
|
|
#{libexec}
|
|
|
|
|
|
|
|
You may want to add the following to your .bash_profile:
|
|
|
|
export JBOSS_HOME=#{libexec}
|
|
|
|
export PATH=${PATH}:${JBOSS_HOME}/bin
|
|
|
|
|
|
|
|
Note: The support scripts used by JBoss Application Server 5 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
|