build_ant.xml 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project basedir="../../." name="p5ant" default="p5ant.default"
  3. xmlns:p5ant="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache.public/ant/ant.xsd"
  4. xmlns:p5dg="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/documentation_generator/documentation_generator.xsd"
  5. xmlns:p5bws="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/WPS_Functions.xsd"
  6. xmlns:p5xsl="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/xsl_interface/xsl_interface.xsd"
  7. xmlns:p5suis="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/system_ui_info_speech/system_ui_info_speech.xsd"
  8. >
  9. <description>To create documentation of ant builds, schemas, xslt and others
  10. @2018-01-26 to generate new ant module TODO
  11. </description>
  12. <include file="build.p5ant.PRODUCT.xml" as="PRODUCT" />
  13. <include file="build.p5ant.INSTALL.xml" as="INSTALL"/>
  14. <!--<include file="build.p5ant.create_new_WPS_Function.from_git.xml" optional="true" as="from_git" />--> <!-- import as="from_git" -->
  15. <include file="build.p5ant.create_new_WPS_Function.xml" as="create_new_WPS_Function" />
  16. <include file="../build.WPS_Functions.PRODUCT.xml" as="WPS_Functions"/>
  17. <include file="build.p5ant.safety.xml" as="safety"/>
  18. <include file="build.p5ant.storage.xml" as="storage"/>
  19. <include file="../system_ui_info_speech/build_system_ui_info_speech.xml" as="p5suis"/>
  20. <!--<include file="${WPS_Functions.basedir}/build_WPS_Function_basedir.xml" as="p5bws" />-->
  21. <include file="../../Types/build.p5Type.PRODUCT.xml"/>
  22. <include file="../documentation_generator/build_documentation_generator.xml" as="p5dg"/>
  23. <extension-point name="p5dg.documentation.files.antstructure-resp.xsd" depends="p5dg.p5dg.documentation.files.antstructure-resp.xsd"/>
  24. <extension-point name="graph.graph.graph-to-nodes.xml" depends="p5dg.graph.graph.graph-to-nodes.xml"/>
  25. <property name="p5ant.documentation.files.antstructure.dtd" location="${p5ant.repository}/p5dg.documentation.files.antstructure.dtd"/>
  26. <!-- <property name="p5ant.documentation.files.antstructure-to-fix.xsd" location="${p5ant.repository}/p5dg.documentation.files.antstructure-to-fix.x_s_d"/>
  27. <property name="p5ant.documentation.files.antstructure.xsd" location="${p5ant.repository}/p5dg.documentation.files.antstructure.xsd"/>
  28. <property name="p5ant.documentation.files.antstructure-request.xsd" location="${p5ant.repository}/p5dg.documentation.files.antstructure-request.xsd"/>
  29. <property name="p5ant.documentation.files.antstructure-resp.xsd" location="${p5ant.repository}/p5dg.documentation.files.antstructure-resp.xsd"/>-->
  30. <target name="create_new_WPS_Function.from_git.create_new_WPS_Function.create" depends="create_new_WPS_Function.create"/>
  31. <target name="create_new_WPS_Function.from_url.create_new_WPS_Function.create" depends="create_new_WPS_Function.create"/>
  32. <target name="create_new_WPS_Function.module.create_new_WPS_Function.create" depends="create_new_WPS_Function.create"/>
  33. <target name="create_new_WPS_Function.from_git.create_new_WPS_Function.create_all" depends="create_new_WPS_Function.create_all"/>
  34. <target name="create_new_WPS_Function.from_url.create_new_WPS_Function.create_all" depends="create_new_WPS_Function.create_all"/>
  35. <target name="create_new_WPS_Function.module.create_new_WPS_Function.create_all" depends="create_new_WPS_Function.create_all"/>
  36. <extension-point name="create_new_WPS_Function.module.safety.say_and_open_file" depends="safety.say_and_open_file"/>
  37. <extension-point name="p5ant.safety.open_file__x3A__p5apl.open" extensionOf="safety.open_file__x3A__p5apl.open" onMissingExtensionPoint="warn"/>
  38. <extension-point name="p5ant.safety.open_file__x3A__p5apl.terminal-notifier" extensionOf="safety.open_file__x3A__p5apl.terminal-notifier" onMissingExtensionPoint="warn"/>
  39. <!--<propertyset id="p5dg.properties">
  40. <propertyref prefix="p5dg"/>
  41. <mapper type="glob" from="p5dg.*" to="local.*"/>
  42. </propertyset>-->
  43. <target name="p5ant.default">
  44. <echo> Use mainly </echo>
  45. <echo> create_new_WPS_Function </echo>
  46. <echo> p5ant.documentation.ant </echo>
  47. </target>
  48. <target name="p5ant.documentation.ant" depends="PRODUCT.basedir" >
  49. <echo> to ${p5ant.documentation.files.antstructure.dtd}</echo>
  50. <antstructure output="${p5ant.documentation.files.antstructure.dtd}" />
  51. </target>
  52. <target name="p5ant.self_repair" description="self controll - to validate self and repair - like perms etc" >
  53. <echo>#75 will check perms for user $p5build_SE.SYSTEM.local-user = ${p5build_SE.SYSTEM.local-user} </echo>
  54. <!--<antcall target="p5build.self_repair"></antcall>-->
  55. <ant antfile="${p5build.build}" target="self_repair"></ant>
  56. <antcall target="p5suis.p5suis.self_repair"/>
  57. </target>
  58. <!--<target name="documentation.ant.dtd2xsd.pl" depends="p5ant.documentation.ant">
  59. <property environment="env"/>
  60. <exec executable="${bin.perl}" searchpath="true" output="${p5ant.documentation.files.antstructure-to-fix.xsd}" errorproperty="p5dg:documentation.ant.dtd2xsd.pl.error">
  61. <!-\-<arg value="${dtd2xsd.pl}"/>-\->
  62. <!-\-<arg value="-major"/>-\->
  63. <!-\-<arg value=""/>-\->
  64. <!-\-<arg value="${dtd2xsd.pl}"/>-\->
  65. <arg line="${dtd2xsd.pl} -alias -prefix p5ant ${p5ant.documentation.files.antstructure.dtd} -ns http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache.public/ant/ant.xsd"/>
  66. <!-\- \
  67. -simpletype 'ContentType' string \
  68. -attrgroup '.*Events' \
  69. -attrgroup '.*Attrs' \
  70. -attrgroup '.*Attrs' \
  71. -attrgroup structured_text \
  72. -modelgroup '(descTitle|descTitleDefs)' \
  73. -attrgroup '.*_attributes.*' \
  74. -attrgroup '.*Attributes.*' -\->
  75. <env key="PATH" path="${env.PATH}:${PATH_ADD}" />
  76. </exec>
  77. </target>-->
  78. <extension-point name="create_new_WPS_Function" depends="create_new_WPS_Function.create"/>
  79. </project>