forked from apache/storm
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
convert to multimodule setup (everything in essentially one module bu…
…t setup for more), redo build_release.sh and to_maven.sh scripts to work appropriately with new setup
- Loading branch information
1 parent
220f924
commit 0e74f00
Showing
559 changed files
with
185 additions
and
82 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
storm-console-logging | ||
storm-core | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
0.9.0-wip17 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
#!/bin/bash | ||
|
||
LEIN=`which lein2 || which lein` | ||
export LEIN_ROOT=1 | ||
|
||
|
||
for module in $(cat MODULES) | ||
do | ||
echo "Building $module" | ||
cd $module | ||
if [ $module != "storm-console-logging" ] | ||
then | ||
rm ../conf/logback.xml | ||
fi | ||
|
||
|
||
$LEIN with-profile release clean | ||
$LEIN with-profile release deps | ||
$LEIN with-profile release jar | ||
$LEIN with-profile release install | ||
$LEIN with-profile release pom | ||
|
||
git checkout ../conf/logback.xml | ||
cd .. | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
mkdir -p doc | ||
javadoc -d doc-$1/ `find src -name "*.java" | grep -v generated` | ||
javadoc -d doc-$1/ `find . -name "*.java" | grep -v generated` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,52 +1,18 @@ | ||
(defproject storm/storm "0.9.0-wip16" | ||
(def VERSION (slurp "VERSION")) | ||
(def MODULES (-> "MODULES" slurp (.split "\n"))) | ||
(def DEPENDENCIES (for [m MODULES] [(symbol (str "storm/" m)) VERSION])) | ||
|
||
;; for lib pom.xml, change the symbol to storm/storm-liba and filter out storm-console-logging from modules | ||
|
||
(eval `(defproject storm/storm ~VERSION | ||
:url "http://storm-project.net" | ||
:description "Distributed and fault-tolerant realtime computation" | ||
:license {:name "Eclipse Public License - Version 1.0" :url "https://github.com/nathanmarz/storm/blob/master/LICENSE.html"} | ||
:dependencies [[org.clojure/clojure "1.4.0"] | ||
[commons-io "1.4"] | ||
[org.apache.commons/commons-exec "1.1"] | ||
[storm/libthrift7 "0.7.0" | ||
:exclusions [org.slf4j/slf4j-api]] | ||
[clj-time "0.4.1"] | ||
[com.netflix.curator/curator-framework "1.0.1" | ||
:exclusions [log4j/log4j]] | ||
[backtype/jzmq "2.1.0"] | ||
[com.googlecode.json-simple/json-simple "1.1"] | ||
[compojure "1.1.3"] | ||
[hiccup "0.3.6"] | ||
[ring/ring-devel "0.3.11"] | ||
[ring/ring-jetty-adapter "0.3.11"] | ||
[org.clojure/tools.logging "0.2.3"] | ||
[org.clojure/math.numeric-tower "0.0.1"] | ||
[storm/carbonite "1.5.0"] | ||
[org.yaml/snakeyaml "1.9"] | ||
[org.apache.httpcomponents/httpclient "4.1.1"] | ||
[storm/tools.cli "0.2.2"] | ||
[com.googlecode.disruptor/disruptor "2.10.1"] | ||
[storm/jgrapht "0.8.3"] | ||
[com.google.guava/guava "13.0"] | ||
[ch.qos.logback/logback-classic "1.0.6"] | ||
[org.slf4j/log4j-over-slf4j "1.6.6"] | ||
] | ||
|
||
:source-paths ["src/clj"] | ||
:java-source-paths ["src/jvm"] | ||
:test-paths ["test/clj"] | ||
:resource-paths ["conf"] | ||
|
||
:profiles {:dev {:resource-paths ["src/dev"] | ||
:dependencies [[org.mockito/mockito-all "1.9.5"]]} | ||
:release {} | ||
:lib {} | ||
} | ||
|
||
:plugins [[lein-swank "1.4.4"]] | ||
|
||
:repositories {"sonatype" | ||
"http://oss.sonatype.org/content/groups/public/"} | ||
|
||
:javac-options ["-g"] | ||
:jvm-opts ["-Djava.library.path=/usr/local/lib:/opt/local/lib:/usr/lib"] | ||
|
||
:aot :all | ||
:min-lein-version "2.0.0") | ||
:mailing-list {:name "Storm user mailing list" | ||
:archive "https://groups.google.com/group/storm-user" | ||
:post "storm-user@googlegroups.com"} | ||
:dependencies [~@DEPENDENCIES] | ||
:plugins [[~'lein-sub "0.2.1"]] | ||
:min-lein-version "2.0.0" | ||
:sub [~@MODULES] | ||
)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../conf/logback.xml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
(def ROOT-DIR (subs *file* 0 (- (count *file*) (count "project.clj")))) | ||
(def VERSION (-> ROOT-DIR (str "/../VERSION") slurp)) | ||
|
||
(defproject storm/storm-console-logging VERSION | ||
:resource-paths ["logback"] | ||
|
||
:profiles {:release {} | ||
} | ||
|
||
:aot :all) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
(slurp | ||
) | ||
(doc slurp) | ||
(def f (slurp "../project.clj")) | ||
f | ||
(def form (read-string f)) | ||
form | ||
(doc read-string) | ||
(last form) | ||
(def VERSION (-> "../project.clj" slurp read-string last)) | ||
VERSION |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
(def ROOT-DIR (subs *file* 0 (- (count *file*) (count "project.clj")))) | ||
(def VERSION (-> ROOT-DIR (str "/../VERSION") slurp)) | ||
|
||
(defproject storm/storm-core VERSION | ||
:dependencies [[org.clojure/clojure "1.4.0"] | ||
[commons-io "1.4"] | ||
[org.apache.commons/commons-exec "1.1"] | ||
[storm/libthrift7 "0.7.0" | ||
:exclusions [org.slf4j/slf4j-api]] | ||
[clj-time "0.4.1"] | ||
[com.netflix.curator/curator-framework "1.0.1" | ||
:exclusions [log4j/log4j]] | ||
[backtype/jzmq "2.1.0"] | ||
[com.googlecode.json-simple/json-simple "1.1"] | ||
[compojure "1.1.3"] | ||
[hiccup "0.3.6"] | ||
[ring/ring-devel "0.3.11"] | ||
[ring/ring-jetty-adapter "0.3.11"] | ||
[org.clojure/tools.logging "0.2.3"] | ||
[org.clojure/math.numeric-tower "0.0.1"] | ||
[storm/carbonite "1.5.0"] | ||
[org.yaml/snakeyaml "1.9"] | ||
[org.apache.httpcomponents/httpclient "4.1.1"] | ||
[storm/tools.cli "0.2.2"] | ||
[com.googlecode.disruptor/disruptor "2.10.1"] | ||
[storm/jgrapht "0.8.3"] | ||
[com.google.guava/guava "13.0"] | ||
[ch.qos.logback/logback-classic "1.0.6"] | ||
[org.slf4j/log4j-over-slf4j "1.6.6"] | ||
] | ||
|
||
:source-paths ["src/clj"] | ||
:java-source-paths ["src/jvm"] | ||
:test-paths ["test/clj"] | ||
:resource-paths ["../conf"] | ||
|
||
:profiles {:dev {:resource-paths ["src/dev"] | ||
:dependencies [[org.mockito/mockito-all "1.9.5"]]} | ||
:release {} | ||
:lib {} | ||
} | ||
|
||
:plugins [[lein-swank "1.4.4"]] | ||
|
||
:repositories {"sonatype" | ||
"http://oss.sonatype.org/content/groups/public/"} | ||
|
||
:javac-options ["-g"] | ||
:jvm-opts ["-Djava.library.path=/usr/local/lib:/opt/local/lib:/usr/lib"] | ||
|
||
:aot :all) |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.