|
|
|
|
|
Re: Aspects not being weaved!? [message #61143 is a reply to message #61119] |
Wed, 18 January 2006 17:20 |
Tom Coupland Messages: 14 Registered: July 2009 |
Junior Member |
|
|
Hi Sian,
Thanks for trying that out, nice to be sure!
Answers to quesitons
1. Yes to both. Got a little 'AJ' on the project and on the class too.
2. I had aspectJ in my boxes java installation, eclipse has its own, was
worried there might hav been some mix up so deleted it.
3. Far from getting any errors im seeing messages like this...
0 Join point 'method-call(boolean
meta.experiments.aspects.basic.AspectBasicTest.aMethod())' in Type
'meta.experiments.aspects.basic.AspectBasicTest' (AspectBasicTest.java:10)
advised by around advice from 'meta.experiments.aspects.basic.Truer'
(Truer.aj:7) Experiments January 18, 2006 5:10:25 PM
Got 1 of these 'info' messages in the Problems log for each of my aspect
joins. Theres no mention of a problem in the errLog view.
4. Was just about to answer this one with there was, but i got rid of
it.....
Checked and now its all working, feel abit sheepish now..........
Had no idea that having an error in a complete unrelated package wld cause
it to do that. Sounds abit troppy i know, but won't some sort of message
like "Theres an error in package X, aspectJ will not work at all" be
helpful? Am constantly running my proj with errors in (is quite large
now), so did'nt think it was a issue at all!
Owell, thanks allot Sian for working though something as trivial as this
with me.
Thanks allot!
Tom :)
|
|
|
Re: Aspects not being weaved!? [message #61167 is a reply to message #61143] |
Thu, 19 January 2006 10:54 |
Sian January Messages: 83 Registered: July 2009 |
Member |
|
|
Hi Tom,
I'm glad you got it sorted in the end. The suggestion you made about
having some kind of error if the project hasn't been woven does make
sense. A compiler error would probably be best (in the problems view)
rather than a pop-up or anything else. Why don't you raise an AspectJ
enhancement - https://bugs.eclipse.org/bugs/enter_bug.cgi?product=AspectJ
Sian
Tom Coupland wrote:
> Hi Sian,
>
> Thanks for trying that out, nice to be sure!
>
> Answers to quesitons
>
> 1. Yes to both. Got a little 'AJ' on the project and on the class too.
> 2. I had aspectJ in my boxes java installation, eclipse has its own, was
> worried there might hav been some mix up so deleted it.
> 3. Far from getting any errors im seeing messages like this...
>
> 0 Join point 'method-call(boolean
> meta.experiments.aspects.basic.AspectBasicTest.aMethod())' in Type
> 'meta.experiments.aspects.basic.AspectBasicTest'
> (AspectBasicTest.java:10) advised by around advice from
> 'meta.experiments.aspects.basic.Truer' (Truer.aj:7)
> Experiments January 18, 2006 5:10:25 PM
>
> Got 1 of these 'info' messages in the Problems log for each of my aspect
> joins. Theres no mention of a problem in the errLog view.
>
> 4. Was just about to answer this one with there was, but i got rid of
> it.....
> Checked and now its all working, feel abit sheepish now..........
>
> Had no idea that having an error in a complete unrelated package wld
> cause it to do that. Sounds abit troppy i know, but won't some sort of
> message like "Theres an error in package X, aspectJ will not work at
> all" be helpful? Am constantly running my proj with errors in (is quite
> large now), so did'nt think it was a issue at all!
>
> Owell, thanks allot Sian for working though something as trivial as this
> with me.
>
> Thanks allot!
>
> Tom :)
>
>
|
|
|
|
|
|
|
Re: Aspects not being weaved!? [message #591888 is a reply to message #61119] |
Wed, 18 January 2006 17:20 |
Tom Coupland Messages: 14 Registered: July 2009 |
Junior Member |
|
|
Hi Sian,
Thanks for trying that out, nice to be sure!
Answers to quesitons
1. Yes to both. Got a little 'AJ' on the project and on the class too.
2. I had aspectJ in my boxes java installation, eclipse has its own, was
worried there might hav been some mix up so deleted it.
3. Far from getting any errors im seeing messages like this...
0 Join point 'method-call(boolean
meta.experiments.aspects.basic.AspectBasicTest.aMethod())' in Type
'meta.experiments.aspects.basic.AspectBasicTest' (AspectBasicTest.java:10)
advised by around advice from 'meta.experiments.aspects.basic.Truer'
(Truer.aj:7) Experiments January 18, 2006 5:10:25 PM
Got 1 of these 'info' messages in the Problems log for each of my aspect
joins. Theres no mention of a problem in the errLog view.
4. Was just about to answer this one with there was, but i got rid of
it.....
Checked and now its all working, feel abit sheepish now..........
Had no idea that having an error in a complete unrelated package wld cause
it to do that. Sounds abit troppy i know, but won't some sort of message
like "Theres an error in package X, aspectJ will not work at all" be
helpful? Am constantly running my proj with errors in (is quite large
now), so did'nt think it was a issue at all!
Owell, thanks allot Sian for working though something as trivial as this
with me.
Thanks allot!
Tom :)
|
|
|
Re: Aspects not being weaved!? [message #591897 is a reply to message #61143] |
Thu, 19 January 2006 10:54 |
Sian January Messages: 83 Registered: July 2009 |
Member |
|
|
Hi Tom,
I'm glad you got it sorted in the end. The suggestion you made about
having some kind of error if the project hasn't been woven does make
sense. A compiler error would probably be best (in the problems view)
rather than a pop-up or anything else. Why don't you raise an AspectJ
enhancement - https://bugs.eclipse.org/bugs/enter_bug.cgi?product=AspectJ
Sian
Tom Coupland wrote:
> Hi Sian,
>
> Thanks for trying that out, nice to be sure!
>
> Answers to quesitons
>
> 1. Yes to both. Got a little 'AJ' on the project and on the class too.
> 2. I had aspectJ in my boxes java installation, eclipse has its own, was
> worried there might hav been some mix up so deleted it.
> 3. Far from getting any errors im seeing messages like this...
>
> 0 Join point 'method-call(boolean
> meta.experiments.aspects.basic.AspectBasicTest.aMethod())' in Type
> 'meta.experiments.aspects.basic.AspectBasicTest'
> (AspectBasicTest.java:10) advised by around advice from
> 'meta.experiments.aspects.basic.Truer' (Truer.aj:7)
> Experiments January 18, 2006 5:10:25 PM
>
> Got 1 of these 'info' messages in the Problems log for each of my aspect
> joins. Theres no mention of a problem in the errLog view.
>
> 4. Was just about to answer this one with there was, but i got rid of
> it.....
> Checked and now its all working, feel abit sheepish now..........
>
> Had no idea that having an error in a complete unrelated package wld
> cause it to do that. Sounds abit troppy i know, but won't some sort of
> message like "Theres an error in package X, aspectJ will not work at
> all" be helpful? Am constantly running my proj with errors in (is quite
> large now), so did'nt think it was a issue at all!
>
> Owell, thanks allot Sian for working though something as trivial as this
> with me.
>
> Thanks allot!
>
> Tom :)
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.06368 seconds