Navigation


Documentation/DACInstallation

Dynamic Agent Computations - Installation

Installation from sources

For our project we use Mercurial as a distributed revision control system, that is why to checkout repository you need eg. TortoiseHg tool ().

Repository location:


Using TortoiseHg we can clone repository in two ways:

1. Using directory in Windows Explorer


Please create folder "dac" and right click on it:




http://dacframe.org/trac/dac/raw-attachment/wiki/Documentation/DACInstallation/dac-clone-repository-step-1-a.jpg



Fill "Source path:" with repository location.


http://dacframe.org/trac/dac/raw-attachment/wiki/Documentation/DACInstallation/dac-clone-repository-step-2-a.jpg



Provide login and password if it is necessary.


http://dacframe.org/trac/dac/raw-attachment/wiki/Documentation/DACInstallation/dac-clone-repository-step-3-a.jpg



You will see information about files which were downloaded.


http://dacframe.org/trac/dac/raw-attachment/wiki/Documentation/DACInstallation/dac-clone-repository-step-4-a.jpg



In the end "dac" folder contain cloned repository.


http://dacframe.org/trac/dac/raw-attachment/wiki/Documentation/DACInstallation/dac-clone-repository-step-5-a.jpg

2. Using command line:


To clone repository using command line just start "cmd".


http://dacframe.org/trac/dac/raw-attachment/wiki/Documentation/DACInstallation/dac-clone-cmd-1.jpg



Change location to directory where you want to keep cloned repository.


http://dacframe.org/trac/dac/raw-attachment/wiki/Documentation/DACInstallation/dac-clone-cmd-2.jpg

Interesting for us command is "hg clone".


http://dacframe.org/trac/dac/raw-attachment/wiki/Documentation/DACInstallation/dac-clone-cmd-3.jpg


We need to define repository location.


http://dacframe.org/trac/dac/raw-attachment/wiki/Documentation/DACInstallation/dac-clone-cmd-4.jpg



Provide login and password if it is necessary.




http://dacframe.org/trac/dac/raw-attachment/wiki/Documentation/DACInstallation/dac-clone-cmd-5.jpg



You will see information about files which were downloaded.




http://dacframe.org/trac/dac/raw-attachment/wiki/Documentation/DACInstallation/dac-clone-cmd-6.jpg



How to compile the project



To compile the project you have to launch following Ant () targets from main build.xml file:



Location of the build.xml file.




http://dacframe.org/trac/dac/raw-attachment/wiki/Documentation/DACInstallation/dac-cmd-ant-targets-1.jpg



get-ivy


Interesting for us command is "ant get-ivy".

http://dacframe.org/trac/dac/raw-attachment/wiki/Documentation/DACInstallation/dac-cmd-ant-targets-2.jpg


get-jsch


Interesting for us command is "ant get-jsch".

http://dacframe.org/trac/dac/raw-attachment/wiki/Documentation/DACInstallation/dac-cmd-ant-targets-3.jpg


compile


Interesting for us command is "ant compile".

http://dacframe.org/trac/dac/raw-attachment/wiki/Documentation/DACInstallation/dac-cmd-ant-targets-4.jpg


Creating jar file


To generate jar file from previously compiled project simply use "jar" target.




http://dacframe.org/trac/dac/raw-attachment/wiki/Documentation/DACInstallation/dac-cmd-ant-targets-5.jpg

Binary installation


If you want to use our latest stable or development version please check content of our Download site.

Attachments