build.p5xsl.PRODUCT.xml 4.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns:p5xsl="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/xsl_interface/xsl_interface.xsd"
  3. basedir="../../."
  4. default="PRODUCT"
  5. name="p5xsl.PRODUCT">
  6. <description>p5suis:say Created function xsl_interface with prefix p5xsl by p5ant module</description>
  7. <include as="WPS_Functions" file="../build.WPS_Functions.PRODUCT.xml"/>
  8. <condition property="p5xsl.PRODUCT.ifdef.parent"
  9. taskname="p5xsl.parent.PRODUCT.ifdef">
  10. <isset property="WPS_Functions.PRODUCT.name"/>
  11. </condition>
  12. <property name="p5xsl.PRODUCT.name"
  13. value="${WPS_Functions.PRODUCT.name}.xsl_interface"/>
  14. <property name="p5xsl.PRODUCT.vendor-domain"
  15. value="${WPS_Functions.PRODUCT.name}.p5xsl"/>
  16. <property name="p5xsl.basedir" value="${WPS_Functions.basedir}/xsl_interface"/>
  17. <property name="p5xsl.build.xml" value="${p5xsl.basedir}/build_p5xsl.xml"/>
  18. <property name="p5xsl.repository"
  19. value="${WPS_Functions.repository}/xsl_interface"/>
  20. <property name="p5xsl.install" value="${p5xsl.basedir}/install"/>
  21. <property location="${WPS_Functions.temp}/xsl_interface" name="p5xsl.temp"/>
  22. <property location="${p5xsl.basedir}/p5xsl.xsl" name="p5xsl.xsl"/>
  23. <property location="${p5xsl.basedir}/p5xsl.xsd" name="p5xsl.xsd"/>
  24. <property location="${p5xsl.basedir}/p5xsl.include.structure.xml"
  25. name="p5xsl.include.structure.xml"/>
  26. <property location="${p5xsl.basedir}/p5xsl.include.xsl.p5xsls.xml"
  27. name="p5xsl.include.xsl.p5xsls.xml"/>
  28. <property location="/opt/local/share/java/expath-tools-saxon-0.1.0.jar" name="p5xsl.expath-tools-saxon-0.1.0.jar"/>
  29. <property name="p5xsl.saxon.configuration.xml" location="${p5xsl.basedir}/p5xsl.saxon.configuration.xml"/>
  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="p5xsl.local.properties">
  35. <propertyref prefix="p5xsl"/>
  36. <mapper from="p5xsl.*" to="local.*" type="glob"/>
  37. </propertyset>
  38. <antcall inheritall="false" target="WPS_Functions.basedir.p5bws:dirs">
  39. <propertyset refid="p5xsl.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="p5xsl.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="p5xsl.local.properties"/>
  51. </antcall>
  52. </target>
  53. <target name="parent.PRODUCT.ifdef"
  54. unless="p5xsl.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="${p5xsl.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="p5xsl"
  65. namespace="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/xsl_interface/xsl_interface.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>