build.p5ts.PRODUCT.xml 3.9 KB

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