davmail/src/site/xdoc/build.xml

68 lines
3.2 KiB
XML

<?xml version="1.0"?>
<document xmlns="http://maven.apache.org/XDOC/2.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/XDOC/2.0 http://maven.apache.org/xsd/xdoc-2.0.xsd">
<properties>
<title>DavMail POP/IMAP/SMTP/Caldav/Carddav/LDAP Exchange Gateway - Frequently asked questions</title>
<author email="mguessan@free.fr">Mickael Guessant</author>
</properties>
<body>
<section name="Building DavMail from source">
<p>Building DavMail is quite simple:</p>
<ul>
<li>Make sure you have Java 6 or 7 installed and set as current version by checking
JAVA_HOME:
<br/>
<ul>
<li>Unix/OSX:
<source>echo $JAVA_HOME</source>
</li>
<li>Windows:
<source>echo %JAVA_HOME%</source>
</li>
</ul>
</li>
<li>Check if you already have Apache Ant installed :<br/>
<source>ant -version</source><br/>
If you don't, download and unzip ant from&#x20;<a href="http://ant.apache.org/">ant.apache.org</a>,
add ant/bin full path to the PATH environment variable.
</li>
<li>Get DavMail source package from sourceforge and uncompress it:
<source>tar xvzf davmail-src-*.tgz</source>
<br/>
or checkout trunk:
<source>svn co https://svn.code.sf.net/p/davmail/code/trunk</source>
<br/>
or get and uncompress tarball from
<a href="https://sourceforge.net/p/davmail/code/HEAD/tree/trunk">
https://sourceforge.net/p/davmail/code/HEAD/tree/trunk
</a>
</li>
<li>Additional steps on Windows:
<ul>
<li>Download and install NSIS from
<a href="http://nsis.sourceforge.net">http://nsis.sourceforge.net</a>
</li>
<li>Make sure NSIS install path (C:\Program Files\NSIS) is available in system path</li>
<li>Then get KillProcess plugin from
<a href="http://www.esanu.name/software/index.php/nsis-kill-process/">
http://www.esanu.name/software/index.php/nsis-kill-process/
</a>
or the nsis directory in DavMail source.
</li>
<li>Copy the processwork.dll library to NSIS plugin directory.</li>
</ul>
</li>
<li>Go into davmail directory root directory (which contains the build.xml file) and
type:
<source>ant</source>
</li>
</ul>
<p>Packages are then available under dist
</p>
</section>
</body>
</document>