I pushed a commit to both our 1.9.x and master branches to include a change which should bring in the right jars as part of the fetch.
In near future, I'll try and update our mail task tests to be a bit more robust for checking the basic usage of this task. -Jaikiran On 13/08/18 7:17 PM, Jaikiran Pai wrote: > Yes, it looks like one of our changes broke this. We seem to just fetch > the mail API jar(s) and no longer fetch the jars which includethe > provider implementation(s). Can you please file a bug for this, in the > Ant bugzilla? > > -Jaikiran > > > On 13/08/18 7:13 PM, Simon IJskes - QCG wrote: >> It looks like javax.mail-1.6.1.jar is missing. >> >> By manually copying this jar into the lib directory it works. >> >> Before that i've tried to add a dependency in lib/ant-javamail.pom and >> running fetch again but that did not fix it: >> >> <dependency> >> <groupId>com.sun.mail</groupId> >> <artifactId>javax.mail</artifactId> >> <version>1.6.1</version> >> </dependency> >> >> >> On 08/13/2018 03:27 PM, Simon IJskes - QCG wrote: >>> The jar files loaded during execution are: >>> >>> /home/sim/apache-ant-1.10.5/lib/ant-launcher.jar >>> /home/sim/apache-ant-1.10.5/lib/ant-xz.jar >>> /home/sim/apache-ant-1.10.5/lib/ant-apache-log4j.jar >>> /home/sim/apache-ant-1.10.5/lib/ant-apache-bcel.jar >>> /home/sim/apache-ant-1.10.5/lib/ant-swing.jar >>> /home/sim/apache-ant-1.10.5/lib/ant-commons-logging.jar >>> /home/sim/apache-ant-1.10.5/lib/javax.mail-api-1.6.1.jar >>> /home/sim/apache-ant-1.10.5/lib/ant-junitlauncher.jar >>> /home/sim/apache-ant-1.10.5/lib/activation-1.1.jar >>> /home/sim/apache-ant-1.10.5/lib/ant-jdepend.jar >>> /home/sim/apache-ant-1.10.5/lib/ant-apache-oro.jar >>> /home/sim/apache-ant-1.10.5/lib/ant-apache-bsf.jar >>> /home/sim/apache-ant-1.10.5/lib/ant-javamail.jar >>> /home/sim/apache-ant-1.10.5/lib/ant-jmf.jar >>> /home/sim/apache-ant-1.10.5/lib/ant-testutil.jar >>> /home/sim/apache-ant-1.10.5/lib/ant-netrexx.jar >>> /home/sim/apache-ant-1.10.5/lib/ant-junit.jar >>> /home/sim/apache-ant-1.10.5/lib/ant-commons-net.jar >>> /home/sim/apache-ant-1.10.5/lib/ant-junit4.jar >>> /home/sim/apache-ant-1.10.5/lib/ant-antlr.jar >>> /home/sim/apache-ant-1.10.5/lib/maven-ant-tasks-2.1.3.jar >>> /home/sim/apache-ant-1.10.5/lib/ant-jai.jar >>> /home/sim/apache-ant-1.10.5/lib/ant.jar >>> /home/sim/apache-ant-1.10.5/lib/ant-apache-xalan2.jar >>> /home/sim/apache-ant-1.10.5/lib/ant-jsch.jar >>> /home/sim/apache-ant-1.10.5/lib/ant-apache-regexp.jar >>> /home/sim/apache-ant-1.10.5/lib/ant-apache-resolver.jar >>> /home/sim/apache-ant-1.10.5/lib/ant.jar >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org >> For additional commands, e-mail: dev-h...@ant.apache.org >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org > For additional commands, e-mail: dev-h...@ant.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org For additional commands, e-mail: dev-h...@ant.apache.org