Commit c1f1c6a1 authored by Anton Beloglazov's avatar Anton Beloglazov

Fixed the ant building problem: added Flanagan's library to the classpath; updated the readme.txt

parent dc8f1522
......@@ -36,6 +36,9 @@ Acknowledgement:
This is the build file for CloudSim
</description>
<!-- location of libraries -->
<property name="classpath" location="./jars/flanagan.jar" />
<!-- location to store Java classes -->
<property name="class.dir" location="./classes" />
......@@ -51,7 +54,8 @@ Acknowledgement:
<!-- rule to compile CloudSim source files -->
<target name="build" depends="prepare">
<javac srcdir="${src.dir}" destdir="${class.dir}" classpath="${classpath}" />
<javac srcdir="${src.dir}" destdir="${class.dir}" classpath="${classpath}"
includeantruntime="false" />
</target>
<!-- Rule for making a jar file.
......
......@@ -57,7 +57,24 @@ To understand how to use CloudSim, please go through the examples provided
in the examples/ directory.
6. Compiling CloudSim: using Ant
6. Downloading and using external jars
---------------------------------------
Some of the algorithms in the power package require Michael Thomas Flanagan's
Java Scientific Library. In order to compile CloudSim, it is necessary to
download this library. The library can be downloaded from:
http://www.ee.ucl.ac.uk/~mflanaga/java/
Once the library is downloaded, copy it to the jars/ directory. If you are running
Linux, you can just run the ./install-flanagan.sh script, that will download the
library and place it in the jars/ directory.
Please, make sure that, by using such library, you are respecting the terms of use
defined by the software's author.
7. Compiling CloudSim: using Ant
--------------------------------
This release contains a simple buildfile for compiling CloudSim classes.
......@@ -79,19 +96,4 @@ Note:
* You need to set up PATH for ant in Windows and/or Unix.
7. Downloading and using external jars
---------------------------------------
Some of the algorithms in the power package require Michael Thomas Flanagan's
Java Scientific Library. This library can be downloaded from
http://www.ee.ucl.ac.uk/~mflanaga/java/
Once the library is downloaded, copy it to the jars/ directory. If you are running
Linux, you can just run the ./install-flanagan.sh script, that will download the
library and place it in the jars/ directory.
Please, make sure that, by using such library, you are respecting the terms of use
defined by the software's author.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment