build.p5yed.PRODUCT.xml 3.9 KB

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