build.p5_UrlAction.PRODUCT.xml 4.6 KB

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