|
From: <dme...@us...> - 2014-04-29 03:37:37
|
Revision: 8142
http://sourceforge.net/p/bigdata/code/8142
Author: dmekonnen
Date: 2014-04-29 03:37:31 +0000 (Tue, 29 Apr 2014)
Log Message:
-----------
synching bigdata.rb updates to 1.3.0 branch.
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-04-29 03:33:29 UTC (rev 8141)
+++ branches/BIGDATA_RELEASE_1_3_0/bigdata/src/resources/deployment/brew/bigdata.rb 2014-04-29 03:37:31 UTC (rev 8142)
@@ -4,36 +4,45 @@
# /usr/local/Library/Contributions/example-formula.rb
# PLEASE REMOVE ALL GENERATED COMMENTS BEFORE SUBMITTING YOUR PULL REQUEST!
-class SystapBigdata < Formula
- homepage 'http://bigdata.com/bigdata/blog/'
- url 'http://iweb.dl.sourceforge.net/project/bigdata/bigdata/1.3.0/REL.bigdata-1.3.0.tgz'
- sha1 '605e800386300a6965125e0e9bfc06a268df0f08'
+class Bigdata < Formula
+ homepage 'http://bigdata.com/blog/'
+ url 'http://bigdata.com/deploy/bigdata-1.3.0.tgz'
+ sha1 'a395a243a2746ce47cf8893f2207fd2e0de4a9c1'
- # depends_on 'cmake' => :build
- # depends_on :java7 # if your formula requires any X11/XQuartz components
-
def install
- # Install the base files
prefix.install Dir['*']
+ end
- # Setup the lib files
- # (var+'lib/bigdata').mkpath
+ def caveats; <<-EOS.undent
+ After launching, visit the Bigdata Workbench at:
+ http://localhost:8080/bigdata
- # Extract bigdata and install to sbin
+ "bigdata" command synopis:
+ -------------------------
- # sbin.install 'bigdata'
- # (sbin/'bigdata').chmod 0755
- end
+ Start the server:
- def caveats; <<-EOS.undent
- After launching, visit the Bigdata Workbench at: http://localhost:8080/bigdata
+ % 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
end
+ plist_options :startup => 'true', :manual => 'bigdata start'
- plist_options :manual => 'bigdata'
-
def plist; <<-EOS.undent
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN"
@@ -43,17 +52,14 @@
<key>Label</key>
<string>#{plist_name}</string>
<key>Program</key>
- <string>#{opt_sbin}/bigdata</string>
+ <string>#{bin}/bigdata</string>
<key>RunAtLoad</key>
<true/>
- <key>EnvironmentVariables</key>
- <dict>
- <!-- need erl in the path -->
- <key>PATH</key>
- <string>/usr/local/sbin:/usr/bin:/bin:/usr/local/bin</string>
- </dict>
+ <key>WorkingDirectory</key>
+ <string>#{prefix}</string>
</dict>
</plist>
EOS
end
+
end
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|