build.p5xsda.PRODUCT.xml 4.1 KB

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