avro-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cutt...@apache.org
Subject svn commit: r898482 - in /hadoop/avro/trunk: VERSION.txt build.sh doc/build.xml lang/java/build.xml share/VERSION.txt
Date Tue, 12 Jan 2010 19:41:18 GMT
Author: cutting
Date: Tue Jan 12 19:41:18 2010
New Revision: 898482

URL: http://svn.apache.org/viewvc?rev=898482&view=rev
Log:
AVRO-163.  Fix top-level 'dist' target to 'mkdir build'.  Also moved VERSION.txt to share/
to reduce its visibility.

Added:
    hadoop/avro/trunk/share/VERSION.txt
      - copied unchanged from r898480, hadoop/avro/trunk/VERSION.txt
Removed:
    hadoop/avro/trunk/VERSION.txt
Modified:
    hadoop/avro/trunk/build.sh
    hadoop/avro/trunk/doc/build.xml
    hadoop/avro/trunk/lang/java/build.xml

Modified: hadoop/avro/trunk/build.sh
URL: http://svn.apache.org/viewvc/hadoop/avro/trunk/build.sh?rev=898482&r1=898481&r2=898482&view=diff
==============================================================================
--- hadoop/avro/trunk/build.sh (original)
+++ hadoop/avro/trunk/build.sh Tue Jan 12 19:41:18 2010
@@ -4,7 +4,7 @@
 
 cd `dirname "$0"`				  # connect to root
 
-VERSION=`cat VERSION.txt`
+VERSION=`cat share/VERSION.txt`
 
 case "$1" in
 
@@ -18,6 +18,7 @@
 
     dist)
 	# build source tarball
+	mkdir build
 	svn export --force . build/avro-src-$VERSION
 	mkdir -p dist
         tar czf dist/avro-src-$VERSION.tar.gz build/avro-src-$VERSION

Modified: hadoop/avro/trunk/doc/build.xml
URL: http://svn.apache.org/viewvc/hadoop/avro/trunk/doc/build.xml?rev=898482&r1=898481&r2=898482&view=diff
==============================================================================
--- hadoop/avro/trunk/doc/build.xml (original)
+++ hadoop/avro/trunk/doc/build.xml Tue Jan 12 19:41:18 2010
@@ -6,7 +6,7 @@
   <property file="${user.home}/build.properties" />
   
   <loadresource property="version">
-    <file file="${basedir}/../VERSION.txt"/>
+    <file file="${basedir}/../share/VERSION.txt"/>
   </loadresource>
 
   <property name="build.dir" value="../build/avro-doc-${version}"/>

Modified: hadoop/avro/trunk/lang/java/build.xml
URL: http://svn.apache.org/viewvc/hadoop/avro/trunk/lang/java/build.xml?rev=898482&r1=898481&r2=898482&view=diff
==============================================================================
--- hadoop/avro/trunk/lang/java/build.xml (original)
+++ hadoop/avro/trunk/lang/java/build.xml Tue Jan 12 19:41:18 2010
@@ -27,7 +27,7 @@
   <property name="name" value="avro"/>
 
   <loadresource property="version">
-    <file file="${basedir}/../../VERSION.txt"/>
+    <file file="${basedir}/../../share/VERSION.txt"/>
   </loadresource>
   <property name="fullname" value="${name}-${version}"/>
   <property name="year" value="2009"/>



Mime
View raw message