build.p5exslt.PRODUCT.xml 4.3 KB

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