Difference between revisions of "Downloading Agilla"

From Cyber-Physical Systems Laboratory
Jump to navigationJump to search
(New page: Agilla can be downloaded as a pre-packaged zip file or through CVS. In both cases, Agilla will be located in three directories: * /opt/tinyos-1.x/contrib/wustl/app...)
 
Line 1: Line 1:
Agilla can be downloaded as a [[Agilla Releases|pre-packaged zip file]] or through CVS. In both cases, Agilla will be located in three directories:
+
The most recent version of Agilla can be downloaded as a [[Agilla Releases|pre-packaged tarball]].  Previous versions can be downloaded through CVS. Once you have downloaded and extracted Agilla, the source code will be located in three directories:
  
     * /opt/tinyos-1.x/contrib/wustl/apps/Agilla: Agilla's firmware
+
     * contrib/wustl/apps/Agilla: Agilla's firmware
     * /opt/tinyos-1.x/contrib/wustl/tools/java: Agilla's Agent Injector Application
+
     * contrib/wustl/tools/java: Agilla's Agent Injector Application
     * /opt/tinyos-1.x/contrib/wustl/apps/AgillaAgents: Example Mobile Agents.
+
     * contrib/wustl/apps/AgillaAgents: Example Mobile Agents.
 +
 
 +
They should be located within your $TOSROOT directory, which is normally /opt/tinyos-1.x.
  
 
== Downloading Pre-Packaged Versions of Agilla ==
 
== Downloading Pre-Packaged Versions of Agilla ==
  
Agilla can be downloaded as a pre-packaged zip file. This option is for users who do not need the latest code and would like a more stable code base. After downloading the zip file, extract it to /opt/tinyos-1.x.
+
Click [[Agilla Releases|here]] to download a tarball containing Agilla's source code. Once you have downloaded it, you need to extract the source code. By default, the tarball should be extracted to /opt/tinyos-1.x.
 +
 
 +
<pre>
 +
tar zxvf Agilla*.tar.gz
 +
</pre>
  
 
== Downloading Agilla via CVS ==
 
== Downloading Agilla via CVS ==

Revision as of 05:47, 10 December 2007

The most recent version of Agilla can be downloaded as a pre-packaged tarball. Previous versions can be downloaded through CVS. Once you have downloaded and extracted Agilla, the source code will be located in three directories:

   * contrib/wustl/apps/Agilla: Agilla's firmware
   * contrib/wustl/tools/java: Agilla's Agent Injector Application
   * contrib/wustl/apps/AgillaAgents: Example Mobile Agents.

They should be located within your $TOSROOT directory, which is normally /opt/tinyos-1.x.

Downloading Pre-Packaged Versions of Agilla

Click here to download a tarball containing Agilla's source code. Once you have downloaded it, you need to extract the source code. By default, the tarball should be extracted to /opt/tinyos-1.x.

tar zxvf Agilla*.tar.gz 

Downloading Agilla via CVS

The latest version of Agilla can be downloaded using CVS. It is available through the TinyOS CVS repository located on Sourceforge. Instructions for accessing TinyOS's CVS repository are available here. Checkout module tinyos-1.x/contrib/wustl using the following command:

$ cvs -d:pserver:anonymous@tinyos.cvs.sourceforge.net:/cvsroot/tinyos login $ cvs -z3 -d:pserver:anonymous@tinyos.cvs.sourceforge.net:/cvsroot/tinyos co \

 -P tinyos-1.x/contrib/wustl

If you are TinyOS developer, you can download it using:

$ export CVS_RSH=ssh $ cvs -z3 -d:ext:developername@tinyos.cvs.sourceforge.net:/cvsroot/tinyos co \

 -P tinyos-1.x/contrib/wustl

See Tutorial 1 for more details on how to install Agilla.

Demo Releases

   * IPSN SPOTS 2005 - NesC, Java

Remote Injection using RMI

RMI is used to remotely inject agents into the sensor network. To do this, you need to install this java policy file in /opt/tinyos-1.x/contrib/wustl/tools/java. See the tutorial on how to remote inject agents via RMI.

Useful Text Editing Tools

For Windows users, I recommend using TextPad to edit NesC and Mobile Agent files. Here are the color-syntax configurations for NesC and Agilla Agent files:

   * NesC
   * Mobile Agent

Install them in <Program Files>\TextPad 4\system. If you are using Linux, I recommend gEdit. Here are the syntax files:

   * NesC
   * Mobile Agent

Install them in /usr/share/gtksourceview-1.0/language-specs/