Building DavMail from source
Building DavMail is quite simple:
- Make sure you have Java 6 or 7 installed and set as current version by checking
JAVA_HOME:
- Check if you already have Apache Ant installed :
If you don't, download and unzip ant from ant.apache.org,
add ant/bin full path to the PATH environment variable.
- Get DavMail source package from sourceforge and uncompress it:
tar xvzf davmail-src-*.tgz
or checkout trunk:
svn co https://svn.code.sf.net/p/davmail/code/trunk
or get and uncompress tarball from
https://sourceforge.net/p/davmail/code/HEAD/tree/trunk
- Additional steps on Windows:
- Go into davmail directory root directory (which contains the build.xml file) and
type:
Packages are then available under dist
Generating DavMail website content
The source for the DavMail website is in the same version control system as the Davmail source.
To generate the HTML, have maven and the maven site plugin installed.
- on .deb systems:
sudo apt install maven libmaven-site-plugin-java
- on .rpm systems:
sudo yum install maven libmaven-site-plugin-java
- on other systems:
Install maven and maven-site-plugin
Generating the actual HTML is done by these commands:
The HTML files are then available under
target/site/