build.bcgtht.PRODUCT.xml 4.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns:bcgtht="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/bocian-graph-to-html/bocian-graph-to-html.xsd"
  3. xmlns:p5xsl="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/xsl_interface/xsl_interface.xsd"
  4. basedir="../../."
  5. default="PRODUCT"
  6. name="bcgtht.PRODUCT">
  7. <description>p5suis:say Created function bocian-graph-to-html with prefix bcgtht by p5ant module</description>
  8. <include as="WPS_Functions" file="../build.WPS_Functions.PRODUCT.xml"/>
  9. <condition property="bcgtht.PRODUCT.ifdef.parent"
  10. taskname="bcgtht.parent.PRODUCT.ifdef">
  11. <isset property="WPS_Functions.PRODUCT.name"/>
  12. </condition>
  13. <property name="bcgtht.PRODUCT.name"
  14. value="${WPS_Functions.PRODUCT.name}.bocian-graph-to-html"/>
  15. <property name="bcgtht.PRODUCT.vendor-domain"
  16. value="${WPS_Functions.PRODUCT.name}.bcgtht"/>
  17. <property name="bcgtht.basedir"
  18. value="${WPS_Functions.basedir}/bocian-graph-to-html"/>
  19. <property name="bcgtht.build.xml" value="${bcgtht.basedir}/build_bcgtht.xml"/>
  20. <property name="bcgtht.repository"
  21. value="${WPS_Functions.repository}/bocian-graph-to-html"/>
  22. <property name="bcgtht.install" value="${bcgtht.basedir}/install"/>
  23. <property location="${WPS_Functions.temp}/bocian-graph-to-html"
  24. name="bcgtht.temp"/>
  25. <property location="${bcgtht.basedir}/bcgtht.xsl" name="bcgtht.xsl"/>
  26. <property location="${bcgtht.basedir}/bcgtht.xsd" name="bcgtht.xsd"/>
  27. <property location="${bcgtht.basedir}/bcgtht.include.structure.xml"
  28. name="bcgtht.include.structure.xml"/>
  29. <property location="${bcgtht.basedir}/bcgtht.include.xsl.p5xsls.xml"
  30. name="bcgtht.include.xsl.p5xsls.xml"/>
  31. <property location="${bcgtht.repository}/install_example.file"
  32. name="bcgtht.install_example"/>
  33. <property name="bcgtht.module.bocian-graph-to-html.graph-part-first.html"
  34. location="${bcgtht.basedir}/graph-part-first.html"/>
  35. <property name="bcgtht.module.bocian-graph-to-html.graph-part-last.html"
  36. location="${bcgtht.basedir}/graph-part-last.html"/>
  37. <property name="bcgtht.bcgtht.xml.build" location="${bcgtht.basedir}/build.bcgtht.xml.xml"/>
  38. <property name="bcgtht.clousure.xsd" location="${bcgtht.basedir}/bcgtht.clousure.xsd"/>
  39. <target depends="basedir,p5xsls.xml"
  40. description="to create basedir, includes and install"
  41. name="PRODUCT"/>
  42. <target description="to create local dirs" name="basedir">
  43. <propertyset id="bcgtht.local.properties">
  44. <propertyref prefix="bcgtht"/>
  45. <mapper from="bcgtht.*" to="local.*" type="glob"/>
  46. </propertyset>
  47. <antcall inheritall="false" target="WPS_Functions.basedir.p5bws:dirs">
  48. <propertyset refid="bcgtht.local.properties"/>
  49. </antcall>
  50. </target>
  51. <target description="To delete all temp and repository" name="clean">
  52. <antcall inheritall="false" target="WPS_Functions.basedir.p5bws:dirs.clean">
  53. <propertyset refid="bcgtht.local.properties"/>
  54. </antcall>
  55. </target>
  56. <target description="To delete all temp and repository" name="clean.temp">
  57. <antcall inheritall="false"
  58. target="WPS_Functions.basedir.p5bw.p5bws:dirs.temp.clean">
  59. <propertyset refid="bcgtht.local.properties"/>
  60. </antcall>
  61. </target>
  62. <target name="parent.PRODUCT.ifdef"
  63. unless="bcgtht.WPS_Functions.PRODUCT.ifdef.parent">
  64. <fail>There is not set correct parent PRODUCT from expected file="../build.WPS_Functions.PRODUCT.xml"</fail>
  65. </target>
  66. <target name="p5xsls.xml" depends="basedir">
  67. <description>
  68. TODO to be fixed by xslt to allow dynamic create of multi include xsl templates
  69. </description>
  70. <echoxml namespacepolicy="elementsOnly" file="${bcgtht.include.xsl.p5xsls.xml}">
  71. <stylesheet_buildlist xmlns="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/xsl_interface/xsl_interface.xsd">
  72. <namespaces.list>
  73. <namespaces.list.namespace prefix="bcgtht"
  74. namespace="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/bocian-graph-to-html/bocian-graph-to-html.xsd"/>
  75. </namespaces.list>
  76. <include.list>
  77. <include.list.href href="/Users/a.binder/procesy5-dita-templates-druki/xmlschema_procesy5/src-xmlschema/public_html/WPS_Functions/ant/p5ant.xsl"/>
  78. </include.list>
  79. </stylesheet_buildlist>
  80. </echoxml>
  81. </target>
  82. </project>