[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
On-List attachments = good. WAS: Re: [aspectj-users] Troubles with packages and pointcuts
|
Hi,
This problem will probably be solved by the time I get internet access
again, so I won't speak to it (I'm on a plane). However, In response to
the suggestion that the sample be sent offlist, I do want to voice my
opinion in _favor_ of attaching simple examples (especially as eclipse
projects) to the list. Small projects don't eat up much disk space, and
they allow interested mail-followers to DL and try the problem right
away, rather than waste time in a
"request-project-wait-receive-project-then-test" cycle. An inline code
sample showing the "heart of the problem" always helps too. So, thanks
Cyril, for doing everything right. In gratitude, I'll give your problem
a crack if no one has solved it by the time I next get connected.
Cheers,
Nick
On Oct 28, 2004, at 9:43 PM, Cyrill Rüttimann wrote:
Hi George, Ron,
In the attachment is the project (20kb).
I cannot recreate what you are describing. Please could you send me,
off list, an Eclipse project that shows up this problem. The smaller
the project, the better.
Please have a look at ContractShowCase.dummyMethod, it is adviced only
once by ContractSamePackageContract, but should also adviced by
ContractAspect. I have integrated both aspects to show the difference
regarding the package.
Hopefully not a "simple" mistake :-)
Regards,
Cyrill
<ContractShowCase.zip>
Nicholas Lesiecki
Software Craftsman, specializing in J2EE,
Agile Methods, and aspect-oriented programming
Books:
* Mastering AspectJ: http://tinyurl.com/66vf
* Java Tools for Extreme Programming: http://tinyurl.com/66vt
Articles on AspectJ:
* http://tinyurl.com/66vu and http://tinyurl.com/66vv