build.git.PRODUCT.xml 4.2 KB

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