build.tidy.PRODUCT.xml 3.7 KB

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