Author: cutting
Date: Tue Oct 6 17:38:42 2009
New Revision: 822368
URL: http://svn.apache.org/viewvc?rev=822368&view=rev
Log:
AVRO-133. Update version number in specfication document and documentation tab
automatically from build version.
Modified:
hadoop/avro/trunk/CHANGES.txt
hadoop/avro/trunk/build.xml
hadoop/avro/trunk/src/doc/content/xdocs/spec.xml
hadoop/avro/trunk/src/doc/content/xdocs/tabs.xml
Modified: hadoop/avro/trunk/CHANGES.txt
URL:
http://svn.apache.org/viewvc/hadoop/avro/trunk/CHANGES.txt?rev=822368&r1=822367&r2=822368&view=diff
==============================================================================
--- hadoop/avro/trunk/CHANGES.txt (original)
+++ hadoop/avro/trunk/CHANGES.txt Tue Oct 6 17:38:42 2009
@@ -52,6 +52,9 @@
multiple instances without flushing or explicitly resetting the
codec between each instance. (Thiruvalluvan M. G. via cutting)
+ AVRO-133. Update version number in specification document and
+ documentation tab automatically from build version. (cutting)
+
OPTIMIZATIONS
BUG FIXES
Modified: hadoop/avro/trunk/build.xml
URL:
http://svn.apache.org/viewvc/hadoop/avro/trunk/build.xml?rev=822368&r1=822367&r2=822368&view=diff
==============================================================================
--- hadoop/avro/trunk/build.xml (original)
+++ hadoop/avro/trunk/build.xml Tue Oct 6 17:38:42 2009
@@ -430,6 +430,9 @@
</target>
<target name="doc" depends="forrest.check,javadoc,pydoc,cdoc"
description="Generate forrest-based documentation. To use, specify
-Dforrest.home=<base of Apache Forrest installation> on the command
line." if="forrest.home">
+ <echo file="${build.dir}/avro.ent" append="false">
+ <!ENTITY AvroVersion "${version}">
+ </echo>
<exec executable="${forrest.home}/bin/forrest" failonerror="true">
<env key="JAVA_HOME" value="${java5.home}"/>
<arg value="-Dproject.content-dir=src/doc"/>
Modified: hadoop/avro/trunk/src/doc/content/xdocs/spec.xml
URL:
http://svn.apache.org/viewvc/hadoop/avro/trunk/src/doc/content/xdocs/spec.xml?rev=822368&r1=822367&r2=822368&view=diff
==============================================================================
--- hadoop/avro/trunk/src/doc/content/xdocs/spec.xml (original)
+++ hadoop/avro/trunk/src/doc/content/xdocs/spec.xml Tue Oct 6 17:38:42 2009
@@ -15,10 +15,14 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
-<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V2.0//EN"
"http://forrest.apache.org/dtd/document-v20.dtd">
+<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V2.0//EN"
"http://forrest.apache.org/dtd/document-v20.dtd" [
+ <!ENTITY % avro-entities PUBLIC "-//Apache//ENTITIES Avro//EN"
+ "../../../../build/avro.ent">
+ %avro-entities;
+]>
<document>
<header>
- <title>Avro 1.0 Specification</title>
+ <title>Avro &AvroVersion; Specification</title>
</header>
<body>
Modified: hadoop/avro/trunk/src/doc/content/xdocs/tabs.xml
URL:
http://svn.apache.org/viewvc/hadoop/avro/trunk/src/doc/content/xdocs/tabs.xml?rev=822368&r1=822367&r2=822368&view=diff
==============================================================================
--- hadoop/avro/trunk/src/doc/content/xdocs/tabs.xml (original)
+++ hadoop/avro/trunk/src/doc/content/xdocs/tabs.xml Tue Oct 6 17:38:42 2009
@@ -15,7 +15,11 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
-<!DOCTYPE tabs PUBLIC "-//APACHE//DTD Cocoon Documentation Tab V1.1//EN"
"http://forrest.apache.org/dtd/tab-cocoon-v11.dtd">
+<!DOCTYPE tabs PUBLIC "-//APACHE//DTD Cocoon Documentation Tab V1.1//EN"
"http://forrest.apache.org/dtd/tab-cocoon-v11.dtd" [
+ <!ENTITY % avro-entities PUBLIC "-//Apache//ENTITIES Avro//EN"
+ "../../../../build/avro.ent">
+ %avro-entities;
+]>
<tabs software="Avro"
title="Avro"
@@ -30,6 +34,6 @@
<tab label="Project" href="http://hadoop.apache.org/avro/" />
<tab label="Wiki" href="http://wiki.apache.org/hadoop/Avro/" />
- <tab label="Avro 1.1.0 Documentation" dir="" />
+ <tab label="Avro &AvroVersion; Documentation" dir="" />
</tabs>