build.p5xmli.PRODUCT.xml 4.3 KB

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