build_apple.xml 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns:p5apl="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/apple/p5apl.xsd"
  3. basedir="../../."
  4. default="default"
  5. name="apple">
  6. <include as="PRODUCT" file="build.p5apl.PRODUCT.xml"/>
  7. <include as="SYSTEM" file="build.p5apl.SYSTEM.xml"/>
  8. <include as="INSTALL" file="build.p5apl.INSTALL.xml"/>
  9. <include as="WPS_Functions" file="../build.WPS_Functions.PRODUCT.xml"/>
  10. <include file="../system_ui_info_speech/build.system_ui_info_speech.PRODUCT.xml"/>
  11. <include file="build.p5apl.terminal-notifier.xml" as="terminal-notifier"/>
  12. <extension-point name="open" depends="open.exec, open.exec.fail" extensionOf="p5ant.safety.open_file__x3A__p5apl.open" onMissingExtensionPoint="warn" />
  13. <target name="open.exec" if="p5apl.open" unless="open_file__x3A__opened">
  14. <echo>#19 [ O P E N F I L E ] will exec open </echo>
  15. <exec executable="${p5apl.open}">
  16. <arg file="${local.p5ant.safety.filename}"/>
  17. </exec>
  18. <property name="open_file__x3A__opened" value=" file was oppened by p5apl.open.exec app ${p5apl.open} "/>
  19. </target>
  20. <target name="open.exec.fail" unless="p5apl.open">
  21. <echo>#27 [ O P E N E R R O R ] - NO MODULE AVIABLE TO OPEN
  22. $p5apl.open = ${p5apl.open}
  23. </echo>
  24. </target>
  25. <target description="test usage of default xslt template for module"
  26. name="xsl-test">
  27. <xslt basedir="${p5apl.basedir}"
  28. destdir="${p5apl.temp}"
  29. force="true"
  30. in="${p5apl.INSTALL.install_example}"
  31. out="${p5apl.temp}/INSTALL.install_example.xsl-test.xml"
  32. style="${p5apl.xsl}">
  33. <factory name="net.sf.saxon.TransformerFactoryImpl">
  34. <attribute name="http://saxon.sf.net/feature/xinclude-aware" value="true"/>
  35. <attribute name="http://saxon.sf.net/feature/initialMode"
  36. value="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/apple/p5apl.xsd}INSTALL.install_example.xsl-test.xml"/>
  37. <attribute name="http://saxon.sf.net/feature/dtd-validation-recoverable"
  38. value="true"/>
  39. </factory>
  40. <param expression="${p5apl.basedir}"
  41. name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/apple/p5apl.xsd}basedir"/>
  42. <param expression="${p5apl.repository}"
  43. name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/apple/p5apl.xsd}repository"/>
  44. <param expression="${p5apl.temp}"
  45. name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/apple/p5apl.xsd}temp"/>
  46. <classpath location="/opt/local/share/java/saxon9he.jar"/>
  47. <xmlcatalog refid="dita-ot.dtd.catalog"/>
  48. </xslt>
  49. </target>
  50. </project>