build.apache_fop.PRODUCT.xml 4.6 KB

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