|
From: <dme...@us...> - 2014-05-02 14:50:29
|
Revision: 8164
http://sourceforge.net/p/bigdata/code/8164
Author: dmekonnen
Date: 2014-05-02 14:50:26 +0000 (Fri, 02 May 2014)
Log Message:
-----------
Update to sync changes that occurred during the merger freeze. This version is identical with the version submitted to the Homebrew project on 4/30.
Modified Paths:
--------------
branches/BIGDATA_RELEASE_1_3_0/bigdata/src/resources/deployment/brew/bigdata.rb
Modified: branches/BIGDATA_RELEASE_1_3_0/bigdata/src/resources/deployment/brew/bigdata.rb
===================================================================
--- branches/BIGDATA_RELEASE_1_3_0/bigdata/src/resources/deployment/brew/bigdata.rb 2014-05-01 22:13:55 UTC (rev 8163)
+++ branches/BIGDATA_RELEASE_1_3_0/bigdata/src/resources/deployment/brew/bigdata.rb 2014-05-02 14:50:26 UTC (rev 8164)
@@ -1,44 +1,28 @@
-require 'formula'
+require "formula"
-# Documentation: https://github.com/mxcl/homebrew/wiki/Formula-Cookbook
-# /usr/local/Library/Contributions/example-formula.rb
-# PLEASE REMOVE ALL GENERATED COMMENTS BEFORE SUBMITTING YOUR PULL REQUEST!
-
class Bigdata < Formula
- homepage 'http://bigdata.com/blog/'
- url 'http://bigdata.com/deploy/bigdata-1.3.0.tgz'
- sha1 'a395a243a2746ce47cf8893f2207fd2e0de4a9c1'
+ homepage "http://bigdata.com/blog/"
+ url "http://bigdata.com/deploy/bigdata-1.3.0.tgz"
+ sha1 "c22fa05df965019b3132161507ce0e77a4a1f6e2"
def install
- prefix.install Dir['*']
- end
+ prefix.install "doc"
+ prefix.install "var"
+ prefix.install "bin"
+ libexec.install "lib"
- def caveats; <<-EOS.undent
- After launching, visit the Bigdata Workbench at:
+ # Set the installation path as the root for the bin scripts:
+ inreplace "#{bin}/bigdata", "<%= BD_HOME %>", prefix
+ inreplace "#{bin}/bigdata", "<%= INSTALL_TYPE %>", "BREW"
- http://localhost:8080/bigdata
+ # Set the Jetty root as the resourceBase in the jetty.xml file:
+ inreplace "#{prefix}/var/jetty/etc/jetty.xml", "<%= JETTY_DIR %>", "#{prefix}/var/jetty"
- "bigdata" command synopis:
- -------------------------
+ # Set the installation path as the root for bigdata.jnl file location (<bigdata_home>/data):
+ inreplace "#{prefix}/var/jetty/WEB-INF/RWStore.properties", "<%= BD_HOME %>", prefix
- Start the server:
-
- % bigdata start
-
- Stop the server:
-
- % bigdata stop
-
- Restart the server:
-
- % bigdata restart
-
- To tune the server configuration, edit the "#{var}/jetty/WEB-INF/RWStore.properties" file.
-
- Further documentation:
-
- #{doc}
- EOS
+ # Set the installation path as the root for log files (<bigdata_home>/log):
+ inreplace "#{prefix}/var/jetty/WEB-INF/classes/log4j.properties", "<%= BD_HOME %>", prefix
end
plist_options :startup => 'true', :manual => 'bigdata start'
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|