ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anderson, Rob (Global Trade)" <Rob.Ander...@nike.com>
Subject RE: Mail task failure
Date Wed, 12 Jul 2006 17:18:08 GMT
Check the library dependencies to make sure all the necessary jars are
in $ANT_HOME/lib. It sounds like that is the issue.

http://ant.apache.org/manual/install.html#librarydependencies

-Rob Anderson 

> -----Original Message-----
> From: eagerbeaver [mailto:desnunan@hotmail.com] 
> Sent: Wednesday, July 12, 2006 8:48 AM
> To: user@ant.apache.org
> Subject: Mail task failure
> 
> 
> The <mail> task in my nightly build script keeps failing with 
> the error "Failed to initialise MIME mail: 
> javax.mail.Address". This only started happening when I 
> started using Ant 1.6.5. Email still works when I revert back 
> to using Ant 1.6.2. 
> The JAF 1.1 and Javamail 1.4 jars are in ANT_HOME/lib. So why 
> do I get this error and only with Ant v1.6.5? What has changed?
> 
> Here is the task in question:
> 
> <mail mailhost="${mailhost}" mailport="${mailport}"
> subject="${buildType}.${buildId} report" 
> tolist="${emailAll}"> <from address="${emailDes}"/> <message> 
> Please find attached ZIP containing the full console output 
> and the results of the unit tests. </message> <fileset 
> dir="${htmlResultDir}"> <include name="${resultsReportFile}" 
> /> </fileset> </mail>
> --
> View this message in context: 
> http://www.nabble.com/Mail-task-failure-tf1931716.html#a5291385
> Sent from the Ant - Users forum at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message