I'm trying to work out how best to get a traced sample into the
build.My current thoughts are to include a second ant script in the
samples/calculator directory, for example "build-traced.xml", or an
alternative target in the current script, and update the readme to
describe how to run the calculator sample with trace switched on. I'm
not an ant expert, nor am I very familiar with the build structure, so
maybe the answer is obvious to someone who is. I want to be able to
supply the -javaagent:<path to aspectjweaver.jar>, I guess it would be
something like
<java>
...
   <arg value="javaagent:XXXXXXX"/>
...
</java>
 in the ant script.

It's not clear to me how best to make this jar available and
addressable in this way in the binary distro.  Any suggestions
gratefully received.

Kelvin.

Reply via email to