keshvari / adasim

Adasim is a traffic simulator for self-adaptive systems

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Building and running Adasim
---------------------------

Building and running Adasim is simple. There are two
basic ways to compile and run Adasim. Either use Ant,
or create an Eclipse workspace and compile through Eclipse.
Below are instructions how to achieve both.

Compiling with Ant
------------------

The ant build file supports the following targets:

compile        compile the adasim core
test-compile   compile the adasim test suite
test           run the adasim test suite
jar            build an executable JAR file containing only the 
               adasim core
jar-deps       build an executable JAR file that includes
               all dependencies and should run without having 
               to set the classpath
javadoc        generate end-user JavaDoc documentation. The
               generated HTML will be in 'javadoc'.
               
The easiest way to compile and run Adasim is to use
ant jar-libs 
to compile and package adasim. Then run
java -jar adasim.jar -I config.xml
where 'config.xml' must be a configuration file.
For furhter details on running Adasim, check
the Wiki at 
https://github.com/brunyuriy/adasim/wiki/Inst090


Compiling with Eclipse
----------------------

The source checkout already contains a project file for
Eclipse. Checking out through the MercurialEclipse 
plugin should set you up.
If it doesn't, import your checkout into your Eclipse 
workspace, add all the JARs in the 'lib' directory
to the classpath, define 'src' and 'test' as source
directories and you are good to go.

About

Adasim is a traffic simulator for self-adaptive systems

License:MIT License


Languages

Language:Java 96.3%Language:Python 3.3%Language:R 0.4%