What is in the AWare distribution?

The Aware distribution is splitted by components in the following way, so that it is possible to use (and build or test) one single component if you are interested in only one of those:

root
    build.xml
    /lib                                            contains a lot of dependancies, but each component does not use them all
    /src                                            for Aware shared classes
    /components/
        <component name>                            a specific component
           /main
              /org/codehaus/aware/<component name>/ the component name is a reserved package name for the component source
           /test
           /build.xml

Running AWare samples

To run AWare samples you will need:

Note: if you plan to build your own version of AspectWerkz 1.0 from the cvs, remember to checkout from the branch tagged "branch_1_0". Refer to AspectWerkz documentation for more information.

// we assume you have Ant installed,
// a suitable AspectWerkz distribution in C:\aw
// and AWare in C:\aware

// note: do not add ending slash
set ASPECTWERKZ_HOME=C:\aw

cd C:\aware

// run a specific component test or sample (see component documentation)
ant sample:<component name>
// e.g. :
// ant sample:jmx

Component names are the name of the components sub-folder: indexing, sequence, jmx, etc, and you should read Components documentation to learn more about them.

Building AWare

To (re)build an AWare distribution you will need

// we assume you have Ant installed,
// a suitable AspectWerkz distribution in C:\aw
// and AWare in C:\aware

// note: do not add ending slash
set ASPECTWERKZ_HOME=C:\aw

cd C:\aware

// run a specific component test or sample (see component documentation)
ant sample:<component name>
ant compile:<component name>
ant test:<component name>

...

// rebuild the AWare jar from scratch
ant clean
ant compile
ant jars
//
// "ant test" might be a good idea as well