From: <mig...@us...> - 2006-05-11 07:31:23
|
Revision: 6216 Author: miguelrojasch Date: 2006-05-11 00:31:14 -0700 (Thu, 11 May 2006) ViewCVS: http://svn.sourceforge.net/cdk/?rev=6216&view=rev Log Message: ----------- moved the build-dict.xml to directory /doc/dict/. Added Paths: ----------- trunk/cdk/doc/dict/build-dict.xml Removed Paths: ------------- trunk/cdk/build-dict.xml Deleted: trunk/cdk/build-dict.xml =================================================================== --- trunk/cdk/build-dict.xml 2006-05-10 15:19:04 UTC (rev 6215) +++ trunk/cdk/build-dict.xml 2006-05-11 07:31:14 UTC (rev 6216) @@ -1,81 +0,0 @@ -<project name="Dict XHTML+MathML+SVG script" default="all-process" basedir="."> - <import file="build.xml"/> - - <!-- directories --> - <property name="build" value="build" /> - <property name="build.dict" value="${build}/dict" /> - <property name="build.react" value="${build.dict}/react" /> - <property name="build.qsar" value="${build.dict}/qsar" /> - <property name="src" value="src" /> - <property name="data.dict" value="${src}/org/openscience/cdk/dict/data" /> - <property name="dict.xsl" value="doc/dict/xsl" /> - - <target id="clean" name="clean"> - <delete dir="${build.dict}" /> - <delete> - <fileset dir="." includes="*~"/> - <fileset dir="." file="*.html"/> - <fileset dir="." file="*.xhtml"/> - - </delete> - </target> - - <target id="all-process" name="all-process" depends="clean,react-process,qsar-process,fixMathML"> - </target> - - <target id="react-process" name="react-process" depends="inR,xml"> - <xslt basedir="${data.dict}/react/" destdir="${build.react}" extension=".xhtml" - includes="reaction-types.xml, reaction-types-metadata.xml" - style="dictReactxhtml.xsl"/> - </target> - - <target id="inR" name="inR"> - <mkdir dir="${build.react}"/> - <copy todir="${build.react}"> - <fileset dir="${dict.xsl}"> - <excludesfile name="${dict.xsl}/ctop.xsl"/> - <excludesfile name="${dict.xsl}/mathml.xsl"/> - <excludesfile name="${dict.xsl}/pmathml.xsl"/> - <excludesfile name="${dict.xsl}/pmathmlcss.xsl"/> - </fileset> - </copy> - </target> - - - <target id="qsar-process" name="qsar-process" depends="inQ,xml"> - <xslt basedir="${data.dict}/qsar/" destdir="${build.qsar}" extension=".xhtml" - includes="qsar-descriptors.xml, qsar-descriptors-metadata.xml" - style="dictQsarxhtml.xsl"/> - </target> - - <target id="inQ" name="inQ"> - <mkdir dir="${build.qsar}"/> - <copy todir="${build.qsar}"> - <fileset dir="${dict.xsl}"> - <excludesfile name="${dict.xsl}/ctop.xsl"/> - <excludesfile name="${dict.xsl}/mathml.xsl"/> - <excludesfile name="${dict.xsl}/pmathml.xsl"/> - <excludesfile name="${dict.xsl}/pmathmlcss.xsl"/> - </fileset> - </copy> - </target> - - <target id="xml" name="xml"> - <!-- here should be the creator of xml --> - </target> - - <target id="fixMathML" name="fixMathML"> - <replace dir="."> - <include name="**/*.xhtml"/> - <replacetoken><![CDATA[<!DOCTYPE]]></replacetoken> - <replacevalue><![CDATA[<?xml-stylesheet type="text/xsl" href="mathml.xsl"?> - <!DOCTYPE]]></replacevalue> - </replace> - <replace dir="."> - <include name="**/*.xhtml"/> - <replacetoken><![CDATA[<math>]]></replacetoken> - <replacevalue><![CDATA[<math xmlns="http://www.w3.org/1998/Math/MathML">]]></replacevalue> - </replace> - </target> - -</project> Added: trunk/cdk/doc/dict/build-dict.xml =================================================================== --- trunk/cdk/doc/dict/build-dict.xml (rev 0) +++ trunk/cdk/doc/dict/build-dict.xml 2006-05-11 07:31:14 UTC (rev 6216) @@ -0,0 +1,81 @@ +<project name="Dict XHTML+MathML+SVG script" default="all-process" basedir="."> + <import file="../../build.xml"/> + + <!-- directories --> + <property name="build" value="../../build" /> + <property name="build.dict" value="../../build/dict" /> + <property name="build.react" value="${build.dict}/react" /> + <property name="build.qsar" value="${build.dict}/qsar" /> + <property name="src" value="../../src" /> + <property name="data.dict" value="../../src/org/openscience/cdk/dict/data" /> + <property name="dict.xsl" value="xsl" /> + + <target id="clean" name="clean"> + <delete dir="${build.dict}" /> + <delete> + <fileset dir="." includes="*~"/> + <fileset dir="." file="*.html"/> + <fileset dir="." file="*.xhtml"/> + + </delete> + </target> + + <target id="all-process" name="all-process" depends="clean,react-process,qsar-process,fixMathML"> + </target> + + <target id="react-process" name="react-process" depends="inR,xml"> + <xslt basedir="${data.dict}/react/" destdir="${build.react}" extension=".xhtml" + includes="reaction-types.xml, reaction-types-metadata.xml" + style="dictReactxhtml.xsl"/> + </target> + + <target id="inR" name="inR"> + <mkdir dir="${build.react}"/> + <copy todir="${build.react}"> + <fileset dir="${dict.xsl}"> + <excludesfile name="${dict.xsl}/ctop.xsl"/> + <excludesfile name="${dict.xsl}/mathml.xsl"/> + <excludesfile name="${dict.xsl}/pmathml.xsl"/> + <excludesfile name="${dict.xsl}/pmathmlcss.xsl"/> + </fileset> + </copy> + </target> + + + <target id="qsar-process" name="qsar-process" depends="inQ,xml"> + <xslt basedir="${data.dict}/qsar/" destdir="${build.qsar}" extension=".xhtml" + includes="qsar-descriptors.xml, qsar-descriptors-metadata.xml" + style="dictQsarxhtml.xsl"/> + </target> + + <target id="inQ" name="inQ"> + <mkdir dir="${build.qsar}"/> + <copy todir="${build.qsar}"> + <fileset dir="${dict.xsl}"> + <excludesfile name="${dict.xsl}/ctop.xsl"/> + <excludesfile name="${dict.xsl}/mathml.xsl"/> + <excludesfile name="${dict.xsl}/pmathml.xsl"/> + <excludesfile name="${dict.xsl}/pmathmlcss.xsl"/> + </fileset> + </copy> + </target> + + <target id="xml" name="xml"> + <!-- here should be the creator of xml --> + </target> + + <target id="fixMathML" name="fixMathML"> + <replace dir="."> + <include name="**/*.xhtml"/> + <replacetoken><![CDATA[<!DOCTYPE]]></replacetoken> + <replacevalue><![CDATA[<?xml-stylesheet type="text/xsl" href="mathml.xsl"?> + <!DOCTYPE]]></replacevalue> + </replace> + <replace dir="."> + <include name="**/*.xhtml"/> + <replacetoken><![CDATA[<math>]]></replacetoken> + <replacevalue><![CDATA[<math xmlns="http://www.w3.org/1998/Math/MathML">]]></replacevalue> + </replace> + </target> + +</project> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |