Differences between revisions 12 and 13
Revision 12 as of 2011-06-29 09:06:13
Size: 2206
Comment: remove spam
Revision 13 as of 2011-06-29 09:21:23
Size: 1384
Comment: questions should be asked on the user list - and this one doesn't even have any relation to eclipse at all
Deletions are marked like this. Additions are marked like this.
Line 11: Line 11:
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

Q-3. Does anyone have a Java Formatter Profile that implements the project's formatting guidelines? They are specified for checkstyle in check.xml. Or is it OK to just use the built-in Java Conventions profile?
Q-2. Does anyone have a Java Formatter Profile that implements the project's formatting guidelines? They are specified for checkstyle in check.xml. Or is it OK to just use the built-in Java Conventions profile?

Where Eclipse users can put useful stuff and ask for useful stuff.

What would you like to see here?

Q-1. Eclipse project classpath tools to let the eclipse classpath for a project be used with the <javac> ant task without having to manually modify the build.xml.

A-1. Just the first hit of a search gave Free Eclipse Classpath Ant Task. And the external task task page lists also some. And it is listed as a Eclipse Plug-In.

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. Does anyone have a Java Formatter Profile that implements the project's formatting guidelines? They are specified for checkstyle in check.xml. Or is it OK to just use the built-in Java Conventions profile?

EclipseAnt (last edited 2011-06-29 09:21:23 by StefanBodewig)