build_ant.xml 3.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project basedir="../../." name="ant" default="p5ant.documentation.ant"
  3. xmlns:p5dg="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/documentation_generator/documentation_generator.xsd"
  4. xmlns:p5bws="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/WPS_Functions.xsd"
  5. >
  6. <description>To create documentation of ant builds, schemas, xslt and others</description>
  7. <include file="build.p5ant.PRODUCT.xml" as="PRODUCT" />
  8. <include file="build.p5ant.INSTALL.xml" as="INSTALL"/>
  9. <include file="../build.WPS_Functions.PRODUCT.xml" as="WPS_Functions"/>
  10. <!--<include file="${WPS_Functions.basedir}/build_WPS_Function_basedir.xml" as="p5bws" />-->
  11. <property name="p5ant.documentation.files.antstructure.dtd" location="${p5ant.repository}/p5dg.documentation.files.antstructure.dtd"/>
  12. <!-- <property name="p5ant.documentation.files.antstructure-to-fix.xsd" location="${p5ant.repository}/p5dg.documentation.files.antstructure-to-fix.x_s_d"/>
  13. <property name="p5ant.documentation.files.antstructure.xsd" location="${p5ant.repository}/p5dg.documentation.files.antstructure.xsd"/>
  14. <property name="p5ant.documentation.files.antstructure-request.xsd" location="${p5ant.repository}/p5dg.documentation.files.antstructure-request.xsd"/>
  15. <property name="p5ant.documentation.files.antstructure-resp.xsd" location="${p5ant.repository}/p5dg.documentation.files.antstructure-resp.xsd"/>-->
  16. <!--<propertyset id="p5dg.properties">
  17. <propertyref prefix="p5dg"/>
  18. <mapper type="glob" from="p5dg.*" to="local.*"/>
  19. </propertyset>-->
  20. <target name="p5ant.documentation.ant" depends="PRODUCT.basedir" >
  21. <echo> to ${p5ant.documentation.files.antstructure.dtd}</echo>
  22. <antstructure output="${p5ant.documentation.files.antstructure.dtd}" />
  23. </target>
  24. <!--<target name="documentation.ant.dtd2xsd.pl" depends="p5ant.documentation.ant">
  25. <property environment="env"/>
  26. <exec executable="${bin.perl}" searchpath="true" output="${p5ant.documentation.files.antstructure-to-fix.xsd}" errorproperty="p5dg:documentation.ant.dtd2xsd.pl.error">
  27. <!-\-<arg value="${dtd2xsd.pl}"/>-\->
  28. <!-\-<arg value="-major"/>-\->
  29. <!-\-<arg value=""/>-\->
  30. <!-\-<arg value="${dtd2xsd.pl}"/>-\->
  31. <arg line="${dtd2xsd.pl} -alias -prefix p5ant ${p5ant.documentation.files.antstructure.dtd} -ns http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache.public/ant/ant.xsd"/>
  32. <!-\- \
  33. -simpletype 'ContentType' string \
  34. -attrgroup '.*Events' \
  35. -attrgroup '.*Attrs' \
  36. -attrgroup '.*Attrs' \
  37. -attrgroup structured_text \
  38. -modelgroup '(descTitle|descTitleDefs)' \
  39. -attrgroup '.*_attributes.*' \
  40. -attrgroup '.*Attributes.*' -\->
  41. <env key="PATH" path="${env.PATH}:${PATH_ADD}" />
  42. </exec>
  43. </target>-->
  44. </project>