git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: mail task


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


On 08/13/2018 03:22 PM, Simon IJskes - QCG wrote:
With:

java.runtime.version : 1.8.0_181-b13
java.vm.specification.vendor : Oracle Corporation

and with

java.vm.version : 10.0.1+10
java.runtime.version : 10.0.1+10
java.vm.specification.vendor : Oracle Corporation

Gr. Simon

On 08/13/2018 03:11 PM, Jaikiran Pai wrote:
Which vendor and version of Java is this?

-Jaikiran


On 13/08/18 6:39 PM, Simon IJskes - QCG wrote:
I still have problems installing ant binary distribution (1.10.5) and
using the email task.

I've tried to complete the binary directories by running either:

ant -f fetch.xml -Ddest=system

or

ant -f fetch.xml -Ddest=system javamail


But then i still have (altough another) exception:

build.xml:6: java.lang.NoClassDefFoundError:
com/sun/mail/util/FolderClosedIOException

at:

         <mail mailhost="mail" mailport="25" from="simon@xxxxxx"
subject="Testemail"  >
             <to address="simon@xxxxxx" />
         </mail>

What am i missing here? I've tried with and without --noconfig

Gr. Simon

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xxxxxxxxxxxxxx
For additional commands, e-mail: dev-help@xxxxxxxxxxxxxx



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xxxxxxxxxxxxxx
For additional commands, e-mail: dev-help@xxxxxxxxxxxxxx



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xxxxxxxxxxxxxx
For additional commands, e-mail: dev-help@xxxxxxxxxxxxxx



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xxxxxxxxxxxxxx
For additional commands, e-mail: dev-help@xxxxxxxxxxxxxx