Included here are distributions for CASA; for Mac OS/X (.dmg), Windows (.exe), and generic versions in Java (.jar). The OS specific versions are just native bundlings of the Java code. There are .jar files with just the class files, and .jar files containing all of CASA's source code as well. To round it out, a complete Eclipse project tree is included for Eclipse developers.
You can download the following files:
download file | platform | detail |
---|---|---|
casa.jar | generic/Java jar |
A Java jar file, not including source. Run with "java -jar casa.jar ...". (see Generic Installation) This is the minimum distribution you need for developing or using a CASA agent. |
casa.jar | A Java jar file, including source. Run with "java -jar casa.jar ...". (see Generic Installation) This is the recommended distribution for developing a CASA agent. You can unpack the jar to get access to the source code. | |
casa.zip | Eclipse/all (developer) |
A complete CASA Eclipse directory structure. Just unzip into your Eclipse workspace and make it a new project. |
casa.dmg |
Mac OS/X
|
A Mac disk image containing the install file for the casa.app
application file. (See Mac OS/X Installation)
You can use the distribution to run CASA on a Mac computer, but it
does not contain source files. |
casa.exe | Windows | The MS Windows executable file "casa.exe". (See Windows
Installation) |
documentation | ||
casadoc.zip | all | A zipped copy of the CASA Javadoc html files. These are also available on line. |
CasaUserManual.pdf | all | The CASA User Manual (PDF). This is for both users and
developers. |
tools | ||
casalogviewer.jar | generic | A CASA-specific viewer for agent-generated log files. Recognizes log records, and allows filtering of tags, strings within records, search, etc. You can install casalogviewer as a CASA extension by moving a copy of casalogviewer.jar into ~/.casa/extensions/. (You can display it by choosing Window | Tabs | Log on a per-agent basis.) It can also be run stand-alone. |
casalogviewer.dmg | Mac OS/X | |
casalogviewer.exe | Windows | |
umlet.jar |
generic | An viewer and editor for CASA conversations and policy files (.lisp files). You can install it as a CASA extension by moving a copy of casalogviewer.jar into ~/.casa/extensions/. (You can display it by choosing Window | Tabs | Log on a per-agent basis.) It can also be run stand-alone. |
casaUMLet.dmg | Mac OS/X |
To execute the script in Fig 1 that runs a LAC, a CooperationDomain, and 3 ChatAgent agents, use the following command line (assuming SC2.lisp is in the current directory) in for the generic (.jar) distribution:
java -jar casa.jar "(load \"SC2.lisp\")"
For the Mac (.dmg/.app) or the Windows (.exe) distributions or you already running CASA, go to any agent's default interface's "command" tab, and type:
(load "SC2.lisp")
You can also do the above load command if you are running in text mode (java -jar casa.jar -T) (see the Generic Installation instructions for command-line qualifiers).
;; Starts a LAC, a cooperation domain, and then N chat agents, and has them all join the CD ;; The number of agents is controlled by the let statement -- change "n" (let ( ; trace tags for all agents |
A generic CASA installation requires only the casa.jar file, which you run as follows:
java -jar casa.jar options run-time-command
or, more specificly:
java -jar casa.jar casa.jar [-lLtT?] [-LAC [<port>]] [-NOLAC
[<port>]] [-PROCESS [<port>]] [-NOPROCESS] [-HELP]
[<lisp-command>]
where:
-L, -LAC, -PROCESS, and -NOPROCESS are mutually exclusive. If none of -L, -LAC, -PROCESS, and -NOPROCESS are present then if a LAC exists at -NOLAC (or 9000), then a CASAProcess is started at 9010 or above, otherwise a LAC is started. Qualifiers can be abbreviated to the shortest unique truncation.
The main class is casa.CASAProcess.
The CASA web site is http://casa.cpsc.ucalgary.ca/. JavaDoc may be found at http://casa.cpsc.ucalgary.ca/javadoc/.
The download is disk image (.dmg) file. When you open the disk image, run the CASA.mpkg file to install the casa.app in your /Applications directory.
Note: The package is NOT signed. To run CASA the fist
time after installation, you will need to:
The download is the casa.exe executable. The jar is bundled in this executable file.
Note: The executable is NOT signed. You will have to accept to run it the first time you invoke it.