Skip to content

Commit

Permalink
- make sure joda time is the right version
Browse files Browse the repository at this point in the history
  • Loading branch information
jordansissel committed Mar 5, 2012
1 parent 0fd1637 commit 41d1752
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
12 changes: 8 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -101,11 +101,11 @@ $(ELASTICSEARCH): $(ELASTICSEARCH).tar.gz | vendor/jar
$(QUIET)tar -C $(shell dirname $@) -xf $< $(TAR_OPTS) --exclude '*sigar*' \
'elasticsearch-$(ELASTICSEARCH_VERSION)/lib/*.jar'

vendor/jar/joda-time-$(JODA_VERSION)-dist.tar.gz:
wget "http://downloads.sourceforge.net/project/joda-time/joda-time/$(JODA_VERSION)/joda-time-$(JODA_VERSION)-dist.tar.gz"
vendor/jar/joda-time-$(JODA_VERSION)-dist.tar.gz: | vendor/jar
wget -O $@ "http://downloads.sourceforge.net/project/joda-time/joda-time/$(JODA_VERSION)/joda-time-$(JODA_VERSION)-dist.tar.gz"

vendor/jar/joda-time-$(JODA_VERSION)/joda-time-$(JODA_VERSION).jar: vendor/jar/joda-time-$(JODA_VERSION)-dist.tar.gz
tar -C $(notdir $@) -zxf $< joda-time-$(JODA_VERSION)/joda-time-$(JODA_VERSION).jar
vendor/jar/joda-time-$(JODA_VERSION)/joda-time-$(JODA_VERSION).jar: vendor/jar/joda-time-$(JODA_VERSION)-dist.tar.gz | vendor/jar
tar -C vendor/jar -zxf $< joda-time-$(JODA_VERSION)/joda-time-$(JODA_VERSION).jar

# Always run vendor/bundle
.PHONY: fix-bundler
Expand Down Expand Up @@ -145,6 +145,10 @@ build/monolith: compile copy-ruby-files
@# Unpack all the 3rdparty jars and any jars in gems
$(QUIET)find $$PWD/vendor/bundle $$PWD/vendor/jar -name '*.jar' \
| (cd $@; xargs -tn1 jar xf)
@# Make sure joda-time gets unpacked last, so it overwrites the joda jruby
@# ships with.
$(QUIET)find $$PWD/vendor/jar/joda-time-$(JODA_VERSION) -name '*.jar' \
| (cd $@; xargs -tn1 jar xf)
@# Purge any extra files we don't need in META-INF (like manifests and
@# signature files)
-$(QUIET)rm -f $@/META-INF/*.LIST
Expand Down
2 changes: 1 addition & 1 deletion lib/logstash/version.rb
Original file line number Diff line number Diff line change
@@ -1 +1 @@
LOGSTASH_VERSION = "1.1.0"
LOGSTASH_VERSION = "1.1.0.1"

0 comments on commit 41d1752

Please sign in to comment.