homebrew-core/Formula/jboss-as.rb

29 lines
820 B
Ruby
Raw Normal View History

require 'formula'
class JbossAs < Formula
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'
sha1 'fcec1002dce22d3281cc08d18d0ce72006868b6f'
def install
rm_f Dir["bin/*.bat"]
libexec.install Dir['*']
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 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 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
end
end