You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Apache Wiki <wi...@apache.org> on 2007/03/14 17:28:11 UTC

[Ant Wiki] Update of "EclipseAnt" by DannyKnights

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Ant Wiki" for change notification.

The following page has been changed by DannyKnights:
http://wiki.apache.org/ant/EclipseAnt

------------------------------------------------------------------------------
  
  A-1a. True all that, EXCEPT if you note the dates they are all over a year ago, and with Eclipse 3.1 they are obsolete!  Why?  Because Eclipse 3.1 has File->Export->Ant Buildfiles menu option that generates the build.xml and a user modifiable entity document called build-user.xml where you can put your own properties, tasks and targets.  Which is why this info needs to be here and if there was an Eclipse wiki of equal value to this one, it should go there too.
  
+ Q-2. I need to use ANTs <mail> feature to send the contents of a <junitreport> transformation via email. Currently the code I have says: Failed to initialise MIME mail: javax/mail/MessagingException
+ The MIME mail function is depracated so I don't understand why it doesn't work, it just goes into a loop!
+ 
+ My code is: 
+ <target name="mail">
+ 		<tstamp/>
+ 	  <mail mailhost="numail16.via.novonet" mailport="1111" subject="HTML Validation Report">
+ 	  <from address="danny.knights@blah.co.uk"/>
+ 	  <replyto address="danny.knights@blah.co.uk"/>
+ 	  <to address="danny.knights@blah.co.uk"/>
+ 	  <message>Email sent!</message>
+ 	    <fileset dir="${reports}">
+ 	      <include name="TESTS-*.xml"/>
+ 	    </fileset>
+ 	</mail>
+ 	</target>
+ 
+ can anyone help? My email personal email address is danny.knights@hotmail.co.uk
+ 

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