Last updated February 19, 2011 01:18, by shannon
Feedicon  

JavaMail Build Instructions

To download the most recent JavaMail source code you'll need Mercurial . Mercurial is available in OpenSolaris and most Linux distros.

Once you've installed Mercurial, the following command will check out a copy of the source code:

 % hg clone https://kenai.com/hg/javamail~mercurial javamail

Or, to check out the version corresponding to a particular release, use a tag. For example, to check out the 1.4.4 version:

 % hg clone -r JAVAMAIL-1_4_4 https://kenai.com/hg/javamail~mercurial javamail

To build JavaMail you'll need Maven .

To simply build everything, use:

 % cd javamail
 % mvn install

You'll find the javax.mail.jar file in mail/target/javax.mail.jar, or the equivalent mail.jar file in oldmail/target/mail.jar.

See Workspace Structure for a description of the workspace.

  • Mysql
  • Glassfish
  • Jruby
  • Rails
  • Nblogo
Terms of Use; Privacy Policy;
© 2010, Oracle Corporation and/or its affiliates
(revision 20120127.ac94057)
 
 
Close
loading
Please Confirm
Close