2013-03-17 14:30:45 +00:00
|
|
|
class JbossAs < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "JBoss Application Server"
|
2015-08-03 12:55:31 +00:00
|
|
|
homepage "http://www.jboss.org/jbossas"
|
|
|
|
url "http://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"
|
2013-03-17 14:30:45 +00:00
|
|
|
|
2015-10-23 11:55:12 +00:00
|
|
|
bottle :unneeded
|
|
|
|
|
2013-03-17 14:30:45 +00:00
|
|
|
def install
|
|
|
|
rm_f Dir["bin/*.bat"]
|
2015-08-03 12:55:31 +00:00
|
|
|
libexec.install Dir["*"]
|
2013-03-17 14:30:45 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
def caveats; <<-EOS.undent
|
2013-03-17 15:52:17 +00:00
|
|
|
The home of JBoss Application Server 7 is:
|
2014-03-06 05:28:31 +00:00
|
|
|
#{opt_libexec}
|
2013-03-17 14:30:45 +00:00
|
|
|
|
2013-03-17 15:52:17 +00:00
|
|
|
You may want to add the following to your .bash_profile:
|
2014-03-06 05:28:31 +00:00
|
|
|
export JBOSS_HOME=#{opt_libexec}
|
2013-03-17 15:52:17 +00:00
|
|
|
export PATH=${PATH}:${JBOSS_HOME}/bin
|
2013-03-17 14:30:45 +00:00
|
|
|
|
2013-03-17 15:52:17 +00:00
|
|
|
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
|
2013-03-17 14:30:45 +00:00
|
|
|
end
|
|
|
|
end
|