build.automation_driven.PRODUCT.xml 4.9 KB

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