Apostolos Papageorgiou wrote:
So, I have to add tracing-aspectj under "modules" in the source distribution
and re-build, right? Or can I build the module (or simply test) independently?
Will it be OK with the 1.3.1 source?
Then I need to download aspectjweaver.jar separately, right?
Hello Apostolos,
You do not have to add any code to run the simple test case. If you run
"mvn install" on the source directory, tracing-aspectj, it should
download all dependencies, build the code, and run the simple test case.
This simple test will use the aspect in aop.xml to time a logging statement.
Once this is running, you should be able to log and time your own code
by editing the pointcut and the aspect in aop.xml. You can also add new
aspects, or edit the existing ones if the aspect in aop.xml does not
meet your needs. Additional aspects may be added in
/tracing-aspectj/src/main/java/org/apache/tuscany/sca/aspectj.
These statements hold for 1.3.1 and later releases.
I hope to find the time to dig into it and come back with "better" questions
and further discussion about my logging/timing needs...
Your questions are just fine! Continue to ask as many as you like.
--
Thanks, Dan Becker