Author: cutting
Date: Tue Feb 23 00:21:44 2010
New Revision: 915118

URL: http://svn.apache.org/viewvc?rev=915118&view=rev
Log:
AVRO-427.  Add a README.txt to the dist directory.  Also restructure dist, fix 
a typo, etc.

Added:
    hadoop/avro/trunk/BUILD.txt
    hadoop/avro/trunk/DIST_README.txt
Removed:
    hadoop/avro/trunk/README.txt
Modified:
    hadoop/avro/trunk/build.sh
    hadoop/avro/trunk/lang/c++/build.sh
    hadoop/avro/trunk/lang/c/build.sh
    hadoop/avro/trunk/lang/py/build.xml

Added: hadoop/avro/trunk/BUILD.txt
URL: 
http://svn.apache.org/viewvc/hadoop/avro/trunk/BUILD.txt?rev=915118&view=auto
==============================================================================
--- hadoop/avro/trunk/BUILD.txt (added)
+++ hadoop/avro/trunk/BUILD.txt Tue Feb 23 00:21:44 2010
@@ -0,0 +1,22 @@
+Apache Avro Build Instructions
+
+REQUIREMENTS
+
+The following packages must be installed before Avro can be built:
+
+ - Java: JDK 1.6 and 1.5 (for Forrest docs)
+ - Python: 2.5 or greater, python-setuptools for dist target
+ - C: gcc, autoconf, automake, libtool, asciidoc, source-highlight
+ - C++: g++, flex, bison, libboost-dev
+ - Ruby: ruby 1.86 or greater, ruby-dev, gem, rake, echoe, yajl-ruby
+ - Apache Ant 1.7
+ - Apache Forrest 0.8 (for documentation, requires Java 1.5)
+ - md5sum, sha1sum, used by top-level dist target
+
+BUILDING
+
+Once the requirements are installed, build.sh can used as follows:
+
+ './build.sh test' runs tests for all languages
+ './build.sh dist' creates all release distribution files in dist/
+ './build.sh clean' removes all generated artifacts

Added: hadoop/avro/trunk/DIST_README.txt
URL: 
http://svn.apache.org/viewvc/hadoop/avro/trunk/DIST_README.txt?rev=915118&view=auto
==============================================================================
--- hadoop/avro/trunk/DIST_README.txt (added)
+++ hadoop/avro/trunk/DIST_README.txt Tue Feb 23 00:21:44 2010
@@ -0,0 +1,14 @@
+Apache Avro Distribution 
+
+Avro is a data serialization system.
+
+This distribution contains the following files:
+
+  - avro-src-x.y.z.tar.gz contains the full source for Avro, including
+    all programming language implementations, documentation source, etc.
+
+  - avro-doc-x.y.z.tar.gz contains Avro's pre-built documentation.
+
+  - the c/, cpp/, java/, py/, and ruby/ subdirectories contain
+    pre-built, language-specific binaries, bundles, etc. as
+    conveniences.

Modified: hadoop/avro/trunk/build.sh
URL: 
http://svn.apache.org/viewvc/hadoop/avro/trunk/build.sh?rev=915118&r1=915117&r2=915118&view=diff
==============================================================================
--- hadoop/avro/trunk/build.sh (original)
+++ hadoop/avro/trunk/build.sh Tue Feb 23 00:21:44 2010
@@ -89,6 +89,8 @@
        # build docs
        (cd doc; ant)
        (cd build; tar czf ../dist/avro-doc-$VERSION.tar.gz avro-doc-$VERSION)
+
+       cp DIST_README.txt dist/README.txt
        ;;
 
     clean)

Modified: hadoop/avro/trunk/lang/c++/build.sh
URL: 
http://svn.apache.org/viewvc/hadoop/avro/trunk/lang/c%2B%2B/build.sh?rev=915118&r1=915117&r2=915118&view=diff
==============================================================================
--- hadoop/avro/trunk/lang/c++/build.sh (original)
+++ hadoop/avro/trunk/lang/c++/build.sh Tue Feb 23 00:21:44 2010
@@ -33,7 +33,7 @@
 
 root_dir=$(pwd)
 build_dir="../../build/avro-cpp-$VERSION"
-dist_dir="../../dist"
+dist_dir="../../dist/cpp"
 doc_dir="../../build/avro-doc-$VERSION/api/cpp/html"
 
 tarfile=avro-cpp-$VERSION.tar.gz

Modified: hadoop/avro/trunk/lang/c/build.sh
URL: 
http://svn.apache.org/viewvc/hadoop/avro/trunk/lang/c/build.sh?rev=915118&r1=915117&r2=915118&view=diff
==============================================================================
--- hadoop/avro/trunk/lang/c/build.sh (original)
+++ hadoop/avro/trunk/lang/c/build.sh Tue Feb 23 00:21:44 2010
@@ -4,7 +4,7 @@
 
 root_dir=$(pwd)
 build_dir="../../build/c"
-dist_dir="../../dist"
+dist_dir="../../dist/c"
 version=$(./version.sh project)
 tarball="avro-c-$version.tar.gz"
 doc_dir="../../build/avro-doc-$version/api/c"

Modified: hadoop/avro/trunk/lang/py/build.xml
URL: 
http://svn.apache.org/viewvc/hadoop/avro/trunk/lang/py/build.xml?rev=915118&r1=915117&r2=915118&view=diff
==============================================================================
--- hadoop/avro/trunk/lang/py/build.xml (original)
+++ hadoop/avro/trunk/lang/py/build.xml Tue Feb 23 00:21:44 2010
@@ -22,7 +22,7 @@
   <property file="${user.home}/build.properties" />
 
   <property name="share.dir" value="${basedir}/../../share"/>
-  <property name="dist.dir" value="${basedir}/../../dist"/>
+  <property name="dist.dir" value="${basedir}/../../dist/py"/>
   <property name="top.build" value="${basedir}/../../build"/>
 
   <loadresource property="version">


Reply via email to