Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • 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.

Code Block
java
java
// 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 -Dc=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.

...

Code Block
java
java
// 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 -Dc=sample:<component name>
sample
ant -Dc=compile:<component name>
compile
ant -Dc=test:<component name>
test
...

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