Re: [aspectwerkz-user] RE: FW: Pointcut issue

Alexandru Popescu <[email protected]>
Newsgroups gmane.comp.java.aspectwerkz.user
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

[quote [email protected]::on 3/23/2005 5:14 PM]
> If I refer the annotation using a wrong name, add another method won't make
> it work.
> 
> I'm pretty sure this is an existing bug, I guess I have to drop it from our
> project for now.
> 
> Thanks
> Leon
> -----Original Message-----
> From: Alexandre Vasseur [mailto:[email protected]] 
> Sent: Wednesday, March 23, 2005 9:34 AM
> To: [email protected]; [email protected]
> Subject: Re: FW: Pointcut issue
> 
> so we can see the DoNotAdvise is compiled by AnnotationC
> you probably refer to it using a wrong name (full qualified name, etc)
> it depens on what you have in your annotatoin.properties
> 
> since you are using a sample as a code base, you should start from
> there and trying to stay as close as possible to it
> Alex
> 
> 
> On Wed, 23 Mar 2005 09:22:45 -0500, [email protected] <[email protected]>
> wrote:
>> Alext,
>> 
>> Attached is the result using -verbose and -details options.
>> 
>> If I have beforeA method, it finds some matches, otherwise, it doesn't.
>> 
>> Your help is greatly appreciated.
>> 
>> Thanks
>> Leon
>> 
>> -----Original Message-----
>> From: Alexandre Vasseur [mailto:[email protected]]
>> Sent: Wednesday, March 23, 2005 9:08 AM
>> To: [email protected]
>> Subject: Re: FW: Pointcut issue
>> 
>> tyr using -verbose for AnnotationC, see if you have your annotation there
>> then use -verbose -details with -offline to see what match / does not
> match
>> 
>> Alex
>> 
>> On Wed, 23 Mar 2005 09:02:47 -0500, [email protected] <[email protected]>
>> wrote:
>> >
>> >
>> >
>> >
>> >
>> > Alex,
>> >
>> >
>> >
>> > Thanks a million for the quick response.
>> >
>> >
>> >
>> > I attached the steps I used to compile and run the code with Sun JDK
>> 1.4.2.
>> > Could you please take a look?
>> >
>> >
>> >
>> > I couldn't see your attachment because my company blocks any attachment
>> with
>> > extensions like .zip, .jsp etc.
>> >
>> >
>> >
>> > Could you please rename your attachment with extension .txt so that I
> can
>> > receive it?
>> >
>> >
>> >
>> > Thanks
>> >
>> > Leon
>> >
>> >
>> >
>> >
>> > -----Original Message-----
>> >  From: Alexandre Vasseur [mailto:[email protected]]
>> >  Sent: Wednesday, March 23, 2005 8:44 AM
>> >  To: [email protected]
>> >  Subject: Re: FW: Pointcut issue
>> >
>> >
>> >
>> > just work with Java 5 so I suspect an issue in your AnnotationC steps.
>> >
>> > see attached
>> >
>> > Alex
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> > On Wed, 23 Mar 2005 08:31:12 -0500, [email protected] <[email protected]>
>> > wrote:
>> >
>> > >
>> >
>> > > Alex,
>> >
>> > >
>> >
>> > > Can you help me out on the following question I asked yesterday?
>> >
>> > >
>> >
>> > > Thanks a lot,
>> >
>> > > Leon
>> >
>> > >
>> >
>> > > -----Original Message-----
>> >
>> > > From: Liu, Leon
>> >
>> > > Sent: Tuesday, March 22, 2005 1:26 PM
>> >
>> > > To: '[email protected]'
>> >
>> > > Subject: Pointcut issue
>> >
>> > >
>> >
>> > > All,
>> >
>> > >
>> >
>> > > Attached is an example downloaded from aspectwerkz website with slight
>> >
>> > > modification.
>> >
>> > >
>> >
>> > > The code defines two advices aroundB and beforeA, it works as
> expected.
>> > But
>> >
>> > > If I remove method beforeA, it doesn't work anymore (methods in class
>> > Target
>> >
>> > > won't be weaved). I think this is a bug of aspectwerks 2.0 final. can
>> >
>> > > anybody shed some light?
>> >
>> > >
>> >
>> > > Thanks
>> >
>> > > Leon
>> >
>> > >
>> >
>> > > -----------------------------------------
>> >
>> > > This message and any attachments are intended only for the use of the
>> >
>> > > addressee and may contain information that is privileged and
>> confidential.
>> >
>> > > If the reader of the message is not the intended recipient or an
>> > authorized
>> >
>> > > representative of the intended recipient, you are hereby notified that
>> any
>> >
>> > > dissemination of this communication is strictly prohibited. If you
> have
>> >
>> > > received this communication in error, notify the sender immediately by
>> >
>> > > return email and delete the message and any attachments from your
>> system.
>> >
>> > >
>> >
>> > >
>> >
>> > >
>> >
>> 
>> 
>>
> 
> 
In case you are convinced it is a bug pls send us a short test case that will help us track it down
and fix it asap.

thanks in advance,
- --
:alex |.::the_mindstorm::.|
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (MingW32)

iD8DBQFCQZ09OCPjdDT2FEURAn6VAJ4kQ/Hni6duT+6PLm9wYpKgpl9VnwCfbmyU
FZOd7IIr0aiibXXTM5NGQvs=
=SOva
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.