Modified:
branches/branch_3_1/connector-j/build.xml
Log:
Removed documentation targets.
Modified: branches/branch_3_1/connector-j/build.xml
===================================================================
--- branches/branch_3_1/connector-j/build.xml 2005-08-30 19:56:10 UTC (rev 4163)
+++ branches/branch_3_1/connector-j/build.xml 2005-08-30 20:12:53 UTC (rev 4164)
@@ -146,7 +146,7 @@
depends="fullDist, -removeSources, -makePackages"/>
<target name="fullDist" description="Builds driver, binary .jar file and docs,
basically a distribution 'image'"
- depends="dist-trace, dist, styleDocs"/>
+ depends="dist-trace, dist"/>
<target name="package" depends="dist, -makePackages"/>
@@ -762,74 +762,6 @@
</delete>
</target>
-
- <target name="styleDocs" depends="init, -copyDocs, -styleDocsHtmlTop,
-styleDocsFopTop" if="${com.mysql.jdbc.docs.sourcesPresent}"/>
-
- <target name="-copyDocs" depends="-copyDocsPathCheck">
- <copy file="${com.mysql.jdbc.docs.sourceDir}"
- todir="${buildDir}/${fullProdName}/docs/sources"
- failonerror="false"/>
- </target>
-
- <target name="-copyDocsPathCheck" unless="com.mysql.jdbc.docs.sourceDir">
- <echo>
-Running stylesheets on non-latest documentation sources.
-
-If you want to use up-to-date versions of the documentation, set the property
-"com.mysql.jdbc.docs.sourceDir" to point to the location
-of the DocBook sources (i.e. "connector-j-en.xml").
- </echo>
- </target>
-
- <target name="-styleDocsHtmlTop" depends="-styleDocsStyleSheetsCheck,
-styleDocsHtml"/>
-
- <target name="-styleDocsStyleSheetsCheck"
unless="com.mysql.jdbc.docs.docBookPresent">
- <echo>
-Not applying style sheets to documentation, as the DocBook XSL distribution path
-has not been set with the "com.mysql.jdbc.docs.DocBookXSL" property.
- </echo>
- </target>
-
- <target name="-styleDocsFopTop" depends="-styleDocsStyleSheetsCheck, -styleDocsFop"
if="com.mysql.jdbc.docs.fopPresent"/>
-
- <target name="-styleDocsFop" if="com.mysql.jdbc.docs.fopPresent">
- <xslt basedir="${buildDir}/${fullProdName}/docs/sources"
destdir="${buildDir}/${fullProdName}/docs"
- extension=".fop-xml" style="${com.mysql.jdbc.docs.DocBookXSL}/fo/docbook.xsl"
includes="connector-j-en.xml">
- <param name="fop.extensions" expression="1"/>
- <param name="ection.autolabel" expression="1"/>
- <param name="section.label.includes.component.label" expression="1"/>
- <param name="page.margin.inner" expression="1in"/>
- <param name="page.margin.outer" expression="1in"/>
- </xslt>
-
- <exec dir="${buildDir}/${fullProdName}/docs"
executable="${com.mysql.jdbc.docs.FopPath}">
- <arg line="-fo connector-j-en.fop-xml connector-j-en.pdf"/>
- </exec>
-
- <delete file="${buildDir}/${fullProdName}/docs/connector-j-en.fop-xml"/>
- </target>
-
- <target name="-styleDocsHtml">
- <xslt
- out="${buildDir}/${fullProdName}/docs/index.html"
style="${com.mysql.jdbc.docs.DocBookXSL}/html/docbook.xsl"
in="${buildDir}/${fullProdName}/docs/sources/connector-j-en.xml">
- <param name="section.autolabel" expression="1"/>
- <param name="section.label.includes.component.label" expression="1"/>
- </xslt>
-
- <!-- Create a plaintext version of the manual using 'links' -->
-
- <exec dir="${buildDir}/${fullProdName}/docs"
- executable="${com.mysql.jdbc.docs.LinksPath}"
- output="${buildDir}/${fullProdName}/docs/README.txt">
-
- <!-- Unfortunately, ant doesn't seem to pass this in a way
- 'links' groks using the new value='', file='' syntax,
- so we need to use this depecrated form -->
-
- <arg line="-dump index.html"/>
- </exec>
- </target>
-
<target name="genPropertiesTable" depends="compile-driver">
<tempfile property="properties-xml" suffix=".xml" />
| Thread |
|---|
| • Connector/J commit: r4164 - branches/branch_3_1/connector-j | mmatthews | 30 Aug |