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:
- an AspectWerkz 1.x distribution
- set ASPECTWERKZ_HOME environment variable to point to the folder containing the AspectWerkz distribution
- have an Ant installation on your system
- invoke the Ant sample target, specifying if you want all components or only a specific one
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.
set ASPECTWERKZ_HOME=C:\aw
cd C:\aware
ant sample:<component name>
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
- an AspectWerkz 1.x distribution
- set ASPECTWERKZ_HOME environment variable to point to the folder containing the AspectWerkz distribution
- have an Ant installation on your system
- invoke the Ant target, specifying if you want all components or only a specific one
set ASPECTWERKZ_HOME=C:\aw
cd C:\aware
ant sample:<component name>
ant compile:<component name>
ant test:<component name>
...
ant clean
ant compile
ant jars