jboss-as 7.1.1.Final

Closes Homebrew/homebrew#18543.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
master
wkruse 2013-03-17 15:30:45 +01:00 committed by Adam Vandenberg
parent 31058748b1
commit 16231d63d1
1 changed files with 28 additions and 0 deletions

28
Formula/jboss-as.rb Normal file
View File

@ -0,0 +1,28 @@
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
The home of JBoss Application Server 7 is:
#{prefix}/libexec
You may want to add the following to your .bash_profile:
export JBOSS_HOME=#{prefix}/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