build.automation_driven.PRODUCT.xml 6.3 KB

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