build_send_email.xml 3.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns:send_email="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/send_email/send_email.xsd"
  3. basedir="../../."
  4. default="default"
  5. name="send_email">
  6. <include as="PRODUCT" file="build.send_email.PRODUCT.xml"/>
  7. <include as="SYSTEM" file="build.send_email.SYSTEM.xml"/>
  8. <include as="INSTALL" file="build.send_email.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. <target depends="PRODUCT.PRODUCT,INSTALL.INSTALL" name="default"/>
  12. <target name="send_email_from_xml_parsed" description="To send email based on dita file - parse if there are any emails aviable">
  13. <input addproperty="send_email.xml_to_parse.xml" message="Type url to XML with emails to parse - like .dita file"/>
  14. <!--<property name="send_email.xml_to_parse.xml" location="/opt/local/pl.procesy5/p5build_SE/temp/WPS_Functions/temp/recurse_ant/62888prezes1/62888prezes1_out_task_dita_final.dita"/>-->
  15. <tempfile property="send_email.send_email_from_xml_parsed.xml" destdir="${send_email.temp}" prefix="send_email.send_email_from_xml_parsed." suffix=".xml"/>
  16. <tempfile property="send_email.send_email_from_xml_parsed.build.xml" destdir="${send_email.temp}" prefix="send_email.send_email_from_xml_parsed.build.xml" suffix=".xml"/>
  17. <xslt basedir="${send_email.temp}" style="${send_email.xsl}" in="${send_email.xml_to_parse.xml}" destdir="./" out="${send_email.send_email_from_xml_parsed.xml}" >
  18. <factory name="net.sf.saxon.TransformerFactoryImpl">
  19. <attribute name="http://saxon.sf.net/feature/xinclude-aware" value="true"/>
  20. <attribute name="http://saxon.sf.net/feature/initialMode" value="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/send_email/send_email.xsd}send_email.send_email_from_xml_parsed.xml"/>
  21. </factory>
  22. <classpath location="/opt/local/share/java/saxon9he.jar"/>
  23. <!--<param name="webRootUrl" expression="${webRootUrl}" />-->
  24. <!--<param name="main_build_recurse_ant.dita" expression="${main_build_recurse_ant.dita}"/>-->
  25. <!--<param name="uuid" expression="${uuid_tested}"/>-->
  26. <param name="basedir" expression="${basedir}"/>
  27. <!-- <param name="temp" expression="${temp}"/>
  28. <param name="with_RelatedFeatureLoop" expression="1"/>
  29. <param name="simpleSchema_dir" expression="${simpleSchema_dir}"/>-->
  30. </xslt>
  31. <xslt basedir="${send_email.temp}" style="${send_email.xsl}" in="${send_email.send_email_from_xml_parsed.xml}" destdir="./" out="${send_email.send_email_from_xml_parsed.build.xml}" >
  32. <factory name="net.sf.saxon.TransformerFactoryImpl">
  33. <attribute name="http://saxon.sf.net/feature/xinclude-aware" value="true"/>
  34. <attribute name="http://saxon.sf.net/feature/initialMode" value="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/send_email/send_email.xsd}send_email.send_email_from_xml_parsed.build.xml"/>
  35. </factory>
  36. <classpath location="/opt/local/share/java/saxon9he.jar"/>
  37. <param name="basedir" expression="${basedir}"/>
  38. <param name="send_email.INSTALL.javax.mail-1.6.1.jar" expression="${send_email.INSTALL.javax.mail-1.6.1.jar}"/>
  39. </xslt>
  40. <ant antfile="${send_email.send_email_from_xml_parsed.build.xml}"/>
  41. <!--<exec executable="open">
  42. <arg file="${send_email.send_email_from_xml_parsed.build.xml}"/>
  43. </exec>-->
  44. </target>
  45. </project>