build.automation_driven.PRODUCT.xml 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  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.PRODUCT.submodule.xml"/>
  56. <include as="WPS_Functions" file="../build.WPS_Functions.PRODUCT.xml"/>
  57. <target name="PRODUCT"
  58. depends="basedir,p5xsls.xml"
  59. description="to create basedir, includes and install"/>
  60. <target name="basedir" description="to create local dirs">
  61. <propertyset id="automation_driven.local.properties">
  62. <propertyref prefix="automation_driven"/>
  63. <mapper from="automation_driven.*" to="local.*" type="glob"/>
  64. </propertyset>
  65. <antcall inheritall="false" target="WPS_Functions.basedir.p5bws:dirs">
  66. <propertyset refid="automation_driven.local.properties"/>
  67. </antcall>
  68. </target>
  69. <target name="clean" description="To delete all temp and repository">
  70. <antcall inheritall="false" target="WPS_Functions.basedir.p5bws:dirs.clean">
  71. <propertyset refid="automation_driven.local.properties"/>
  72. </antcall>
  73. </target>
  74. <target name="clean.temp" description="To delete all temp and repository">
  75. <antcall inheritall="false"
  76. target="WPS_Functions.basedir.p5bw.p5bws:dirs.temp.clean">
  77. <propertyset refid="automation_driven.local.properties"/>
  78. </antcall>
  79. </target>
  80. <target name="parent.PRODUCT.ifdef"
  81. unless="automation_driven.WPS_Functions.PRODUCT.ifdef.parent">
  82. <fail>There is not set correct parent PRODUCT from expected file="../build.WPS_Functions.PRODUCT.xml"</fail>
  83. </target>
  84. <target name="p5xsls.xml" depends="basedir">
  85. <description>
  86. TODO to be fixed by xslt to allow dynamic create of multi include xsl templates
  87. </description>
  88. <echoxml namespacepolicy="elementsOnly"
  89. file="${automation_driven.include.xsl.p5xsls.xml}">
  90. <stylesheet_buildlist xmlns="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/xsl_interface/xsl_interface.xsd">
  91. <namespaces.list>
  92. <namespaces.list.namespace prefix="automation_driven"
  93. namespace="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.xsd"/>
  94. </namespaces.list>
  95. <include.list>
  96. <include.list.href href="/Users/a.binder/Documents/se/SE/schema/WPS_Functions/ant/p5ant.xsl"/>
  97. </include.list>
  98. </stylesheet_buildlist>
  99. </echoxml>
  100. </target>
  101. </project>