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.
- Loading branch information
Jason Jackson
committed
Aug 16, 2012
1 parent
5b3bec2
commit 5535d10
Showing
7 changed files
with
69 additions
and
56 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,3 +22,5 @@ _release | |
.lein-deps-sum | ||
*.iml | ||
|
||
/.project/ | ||
/.lein-plugins/ |
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
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 |
---|---|---|
|
@@ -5,32 +5,26 @@ function quit { | |
trap quit 1 2 3 15 #Ctrl+C exits. | ||
|
||
RELEASE=`head -1 project.clj | awk '{print $3}' | sed -e 's/\"//' | sed -e 's/\"//'` | ||
LEIN=`which lein2 || which lein` | ||
|
||
rm -rf classes | ||
rm -f *jar | ||
rm -f *xml | ||
lein jar | ||
lein pom | ||
echo ==== Storm Jar ==== | ||
$LEIN with-profile release clean | ||
$LEIN with-profile release jar | ||
$LEIN with-profile release pom | ||
scp storm*jar pom.xml [email protected]: | ||
rm -f *.jar *.xml | ||
|
||
rm *jar | ||
rm -rf classes | ||
echo ==== Storm-Lib Jar ==== | ||
rm conf/logback.xml | ||
lein jar | ||
|
||
cp project.clj orig-project.clj | ||
sed -i '' -e 's/\[.*logback[^]]*\]//g' project.clj | ||
sed -i '' -e 's/\[.*log4j-over-slf4j[^]]*\]//g' project.clj | ||
|
||
lein pom | ||
mv orig-project.clj project.clj | ||
|
||
mv pom.xml old-pom.xml | ||
sed 's/artifactId\>storm/artifactId\>storm-lib/g' old-pom.xml > pom.xml | ||
$LEIN with-profile lib clean | ||
$LEIN with-profile lib jar | ||
$LEIN with-profile lib pom | ||
sed -i '' -e 's/artifactId\>storm/artifactId\>storm-lib/g' pom.xml | ||
mv storm-$RELEASE.jar storm-lib-$RELEASE.jar | ||
scp storm*jar pom.xml [email protected]: | ||
rm *xml | ||
rm *jar | ||
rm -f *.jar *.xml | ||
|
||
git checkout conf/logback.xml | ||
|
||
|
||
|
File renamed without changes.
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