|
@@ -1228,6 +1228,9 @@
|
|
|
<!-- ================================================================== -->
|
|
|
|
|
|
<target name="docs" depends="forrest.check" 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}/hadoop.ent" append="false">
|
|
|
+ <!ENTITY HadoopVersion "${version}">
|
|
|
+ </echo>
|
|
|
<exec dir="${docs.src}" executable="${forrest.home}/bin/forrest"
|
|
|
failonerror="true">
|
|
|
<env key="JAVA_HOME" value="${java5.home}"/>
|
|
@@ -1243,7 +1246,6 @@
|
|
|
<style basedir="${mapred.src.dir}" destdir="${build.docs}"
|
|
|
includes="mapred-default.xml" style="conf/configuration.xsl"/>
|
|
|
<antcall target="changes-to-html"/>
|
|
|
- <antcall target="cn-docs"/>
|
|
|
</target>
|
|
|
|
|
|
<target name="cn-docs" depends="forrest.check, init"
|