build.send_email.INSTALL.xml 1.4 KB

1234567891011121314151617181920212223242526272829303132
  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. <!--<property name="send_email.INSTALL.sent.dir" location="/Library/WebServer/sent"/>-->
  7. <condition property="send_email.INSTALL.javax.mail-1.6.1.jar.ifdef" taskname="INSTALL.javax.mail-1.6.1.jar">
  8. <not>
  9. <available file="${ant.library.dir}/javax.mail-1.6.1.jar" />
  10. </not>
  11. </condition>
  12. <condition property="send_email.INSTALL.install_example.ifdef" taskname="INSTALL.install_example">
  13. <not>
  14. <available file="${send_email.repository}/install_example.file" />
  15. </not>
  16. </condition>
  17. <target depends="INSTALL.javax.mail-1.6.1.jar" name="INSTALL" />
  18. <target if="send_email.INSTALL.install_example.ifdef" name="INSTALL.install_example">
  19. <copy file="${send_email.INSTALL.install_example}" tofile="${send_email.install_example}" />
  20. </target>
  21. <target if="send_email.INSTALL.javax.mail-1.6.1.jar.ifdef" name="INSTALL.javax.mail-1.6.1.jar">
  22. <copy file="${send_email.INSTALL.javax.mail-1.6.1.jar}" tofile="${ant.library.dir}/javax.mail-1.6.1.jar" />
  23. </target>
  24. </project>