build.p5frc.PRODUCT.xml 4.1 KB

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