-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixes to build_release.sh script #607
base: master
Are you sure you want to change the base?
Conversation
Just saw this overlaps with #597 -- let me know if I should rebase. (This patch implements the same functionality) |
cd .. | ||
cd $module | ||
mvn dependency:copy-dependencies || exit 1 | ||
cp -f target/release/dependency/*.jar "$DIR/lib/" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For me these dirs don't exist, I just have target/dependency.
I tried running this and it doesn't work on my computer. No jars are copied to the release distribution. |
Gah sounds like I'm gonna have to read some maven documentation. I'll update the pull request once I know why we get different destinations. On Jul 9, 2013, at 1:03 PM, Nathan Marz [email protected] wrote:
|
Looks like technomancy/leiningen@a1d7b6f3eabe4eb made it append the profile name to the target directory -- if you installed lein before May, you got a pom with I made the project.clj file fix the directory as just plain |
* storm-console-processor was letting clojure-1.2 meet its dependency list, making for two clojure jars in the tarball. Added a dependency to its project.clj * storm-netty had a dependency itself on storm-core, so the storm-core jar was in both _release and _release/lib. removing the dupe jar from lib/ * build_releases should fail if the build_modules script fails. Made build_modules run set -e, and made build_releases fail if it does * maven is putting the storm-* jar files in target/release+provided, not target/provided. Fixed path. * made pretty banners, made paths be properly quoted * bin/ directory files copy with permissions intact. Also now remove build_release.sh and build_modules.sh, since they won't work * rather than remove _release and *.zip, only removes the specific subdirectory and .zip file. If you run with STORM_KEEP_RELEASE=true, it will not delete the release dir at the end of script (only at beginning) * bin/storm tells you how to roll your own release if you try to launch from a git checkout
Recent leiningen (technomancy/leiningen@a1d7b6f3eabe4eb) appends the profile name to the target directory -- if you installed lein before may, you got a pom with build dir = target/; recent leins set it to target/{profile_name}. This expressly fixes it to be just plain 'target'.
storm-*
jar files in target/release+provided, not target/provided. Fixed path.lib/
project.clj
.STORM_KEEP_RELEASE=true
, it will not delete the release dir at the end of script (only at beginning)