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. |
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. |