tomee-plus 1.7.1
parent
8f4bd52d7f
commit
0a485e66d1
|
@ -1,18 +1,30 @@
|
||||||
require 'formula'
|
require "formula"
|
||||||
|
|
||||||
class TomeePlus < Formula
|
class TomeePlus < Formula
|
||||||
homepage 'http://tomee.apache.org/'
|
homepage "http://tomee.apache.org/"
|
||||||
url 'http://www.apache.org/dyn/closer.cgi?path=tomee/tomee-1.6.0.2/apache-tomee-1.6.0.2-plus.tar.gz'
|
url "http://www.apache.org/dyn/closer.cgi?path=tomee/tomee-1.7.1/apache-tomee-1.7.1-plus.tar.gz"
|
||||||
version '1.6.0.2'
|
version "1.7.1"
|
||||||
sha1 '11b605f2da94fbc2bc571e62578c1599c2a4a789'
|
sha1 "c957652b205ec2395dfc30004e88088d4fb41aa5"
|
||||||
|
|
||||||
def install
|
def install
|
||||||
# Remove Windows scripts
|
# Remove Windows scripts
|
||||||
rm_rf Dir['bin/*.bat']
|
rm_rf Dir["bin/*.bat"]
|
||||||
|
|
||||||
# Install files
|
# Install files
|
||||||
prefix.install %w{ NOTICE LICENSE RELEASE-NOTES RUNNING.txt }
|
prefix.install %w{ NOTICE LICENSE RELEASE-NOTES RUNNING.txt }
|
||||||
libexec.install Dir['*']
|
libexec.install Dir["*"]
|
||||||
bin.install_symlink "#{libexec}/bin/startup.sh" => "tomee-plus-startup"
|
bin.install_symlink "#{libexec}/bin/startup.sh" => "tomee-plus-startup"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def caveats; <<-EOS.undent
|
||||||
|
The home of Apache TomEE Plus is:
|
||||||
|
#{opt_libexec}
|
||||||
|
To run Apache TomEE:
|
||||||
|
#{opt_libexec}/bin/tomee-plus-startup
|
||||||
|
EOS
|
||||||
|
end
|
||||||
|
|
||||||
|
test do
|
||||||
|
system "#{opt_libexec}/bin/configtest.sh"
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue