Thank you, Simon

On 2018-07-02, Simon IJskes - QCG wrote:

> As bugzilla is unreachable for now:

>     <target name="_testmail" >
>         <mail mailhost="mail" mailport="25" from="[email protected]"
> subject="Testemail"  >
>             <to address="[email protected]" />
>         </mail>
>     </target>

> $ JAVA_HOME=/usr/lib/jvm/java-8-oracle/
> ~/opt/apache-ant-1.10.4/bin/ant _testmail

> runs ok.

> _testmail:
>      [mail] Sending email: Testemail
>      [mail] Sent email with 0 attachments


> $ JAVA_HOME=/usr/lib/jvm/java-10-oracle/
> ~/opt/apache-ant-1.10.4/bin/ant _testmail

> _testmail:
>      [mail] Failed to send email: javax.activation.DataHandler

JAF has been removed from Java 10, so now you need to provide its
replacement https://github.com/javaee/activation when starting Ant.

I don't really think we need to change anything inside of Ant but should
document the fact and likely add something to the FAQ in addition to the
mail task's manual page.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to