aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDominyk Tiller2014-12-12 21:52:18 +0000
committerMike McQuaid2014-12-12 22:24:44 +0000
commit20a8cac1f414b8030d27da919d1a10c356d37ade (patch)
tree951379037e8daa3b6a135caf078b62f2e18f7360
parent2375dd3dd939b4eac9b15997bcd0b49336f52d05 (diff)
downloadhomebrew-20a8cac1f414b8030d27da919d1a10c356d37ade.tar.bz2
spring-roo 1.3.0
Closes #34382. The .jar elements in bin seem to be mandatory now, roo errors out and refuses to load without them: ``` Error: Could not find or load main class org.springframework.roo.bootstrap.Main ``` To deal with this I’ve sandboxed the directory and scripted them into the bin. Closes #34935. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
-rw-r--r--Library/Formula/spring-roo.rb15
1 files changed, 8 insertions, 7 deletions
diff --git a/Library/Formula/spring-roo.rb b/Library/Formula/spring-roo.rb
index d374b1fb3..b87a8f272 100644
--- a/Library/Formula/spring-roo.rb
+++ b/Library/Formula/spring-roo.rb
@@ -1,14 +1,15 @@
-require 'formula'
+require "formula"
class SpringRoo < Formula
- homepage 'http://www.springsource.org/spring-roo'
- url 'http://s3.amazonaws.com/dist.springframework.org/release/ROO/spring-roo-1.2.5.RELEASE.zip'
- sha1 'a1b5d5d5081c7e74d20ef65cdf0c55cc744e0850'
- version '1.2.5'
+ homepage "http://www.springsource.org/spring-roo"
+ url "http://spring-roo-repository.springsource.org.s3.amazonaws.com/release/ROO/spring-roo-1.3.0.RELEASE.zip"
+ sha1 "bae2df35a96eff5c348bb8f00ce739572c33959e"
+ version "1.3.0"
def install
rm Dir["bin/*.bat"]
- File.rename "bin/roo.sh", "bin/roo"
- prefix.install %w[annotations bin bundle conf docs legal samples]
+ libexec.install Dir["*"]
+ File.rename "#{libexec}/bin/roo.sh", "#{libexec}/bin/roo"
+ bin.write_exec_script Dir["#{libexec}/bin/*"]
end
end