build.send_email.INSTALL.xml 1.3 KB

12345678910111213141516171819202122232425262728
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project basedir="../../." default="INSTALL" name="send_email.INSTALL">
  3. <include file="build.send_email.PRODUCT.xml" />
  4. <property location="${send_email.install}/install_example.file" name="send_email.INSTALL.install_example" />
  5. <property location="${send_email.install}/javax.mail-1.6.1.jar" name="send_email.INSTALL.javax.mail-1.6.1.jar" />
  6. <condition property="send_email.INSTALL.javax.mail-1.6.1.jar.ifdef" taskname="INSTALL.javax.mail-1.6.1.jar">
  7. <not>
  8. <available file="${ant.library.dir}/javax.mail-1.6.1.jar" />
  9. </not>
  10. </condition>
  11. <condition property="send_email.INSTALL.install_example.ifdef" taskname="INSTALL.install_example">
  12. <not>
  13. <available file="${send_email.repository}/install_example.file" />
  14. </not>
  15. </condition>
  16. <target depends="INSTALL.javax.mail-1.6.1.jar" name="INSTALL" />
  17. <target if="send_email.INSTALL.install_example.ifdef" name="INSTALL.install_example">
  18. <copy file="${send_email.INSTALL.install_example}" tofile="${send_email.install_example}" />
  19. </target>
  20. <target if="send_email.INSTALL.javax.mail-1.6.1.jar.ifdef" name="INSTALL.javax.mail-1.6.1.jar">
  21. <copy file="${send_email.INSTALL.javax.mail-1.6.1.jar}" tofile="${ant.library.dir}/javax.mail-1.6.1.jar" />
  22. </target>
  23. </project>