Get Cona

Downloading Cona

Installation

There are a couple of things that you need to make sure you have in order to run cona

Required Software
Java
(get java)
DemeterJ
(get demeterj)
AspectJ ver 1.0.6
(get aspectj)

Using Cona

Extract the cona archive. The script that follows allows you to compile conaj code. Copy it over and add it to you PATH.
#!/bin/sh
# $Id: cona v0.1
# The installation directory of CONAJ_HOME.
CONAJ_HOME=${CONAJ_HOME:-"path_to_cona_install_dir"}
export CONAJ_HOME
java -ms8m -mx48m -DINSTALL_DIR=$CONAJ_HOME -cp $CLASSPATH:$CONAJ_HOME Main "$@"
Running cona
Place all contracted java code in a directory and run the cona script. This will generate a subdirectory cajgen with all java files, AspectJ files and compiled class files. Using java run the class file containing main.