You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@poi.apache.org by ni...@apache.org on 2009/03/31 17:49:43 UTC
svn commit: r760494 - in /poi/trunk/src/contrib/poi-ruby: Makefile
poi-2.0-final-20040126.jar
Author: nick
Date: Tue Mar 31 15:49:43 2009
New Revision: 760494
URL: http://svn.apache.org/viewvc?rev=760494&view=rev
Log:
Ditch poi 2.0 jar in the ruby contrib, and make it pull the one from dist instead
Removed:
poi/trunk/src/contrib/poi-ruby/poi-2.0-final-20040126.jar
Modified:
poi/trunk/src/contrib/poi-ruby/Makefile
Modified: poi/trunk/src/contrib/poi-ruby/Makefile
URL: http://svn.apache.org/viewvc/poi/trunk/src/contrib/poi-ruby/Makefile?rev=760494&r1=760493&r2=760494&view=diff
==============================================================================
--- poi/trunk/src/contrib/poi-ruby/Makefile (original)
+++ poi/trunk/src/contrib/poi-ruby/Makefile Tue Mar 31 15:49:43 2009
@@ -23,7 +23,7 @@
#
VERSION=0.1.0
-POI_VER=2.0-final-20040126
+POI_VER=$(shell grep '<property name="version.id"' ../../../build.xml | awk -F'"' '{print $$4}')
RUBY_VER=1.8
POI4R:=$(shell pwd)
@@ -148,6 +148,7 @@
JAR=$(GCJ_HOME)/bin/jar
POI_ZIP=poi-$(POI_VER).jar
POI_JAR=poi-$(POI_VER).jar
+POI_JAR_WC=poi-$(POI_VER)-*.jar
POI4R_CP:=$(BINDIR)/$(POI_JAR):$(CLASSES)
@@ -188,8 +189,8 @@
endif
$(BINDIR)/$(POI_JAR):
- cp $(POI4R)/$(POI_JAR) $(BINDIR)/$(POI_JAR)
- cd $(JAR_CLASSES); $(JAR) -xf $(POI4R)/$(POI_JAR)
+ cp ../../../build/dist/$(POI_JAR_WC) $(BINDIR)/$(POI_JAR)
+ cd $(JAR_CLASSES); $(JAR) -xf ../../$(POI_JAR)
$(BINDIR)/io.java.o: java/org/apache/poi/RubyOutputStream.java
$(JCC) $(JCCFLAGS) -C -d $(CLASSES) java/org/apache/poi/RubyOutputStream.java
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org