Home » Language IDEs » AspectJ » Not seeing declare warning matches in outline view
Not seeing declare warning matches in outline view [message #48676] |
Wed, 23 February 2005 16:43 ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: akwatters.hotmail.com
I'm new to Eclipse, AJDT and aspects and have started working through the
book 'eclipse AspectJ'. The book shows how the outline view shows matches
for a declare warning (page 42 if anyone happens to have the book). I see
the declare warning but not the matches.
Have I mis-understood or mis-configured anything? (The book uses eclipse 3.0
and I am using 3.1 but I'm assuming functionality hasn't been removed...).
Any advice would be appreciated.
Andrew
|
|
| |
Re: Not seeing declare warning matches in outline view [message #48765 is a reply to message #48707] |
Thu, 24 February 2005 23:52 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: akwatters.hotmail.com
Hi Sian
Thank you very much for your reply. I've found the Cross References view,
opened it and the declare warning is selected but I still don't see any
matches! Have had a look through the AspectJ preferences without any
insight. Is there anything else that I should look at?
Regards
Andrew
"Sian January" <sjanuary@uk.ibm.com> wrote in message
news:cvknrj$d2q$1@www.eclipse.org...
> Hi Andrew,
>
> In recent versions of AJDT matches are shown in a new view - the Cross
> References view. The book is based on AJDT 1.1.12 and so I am assuming
> you are using a later version. Try opening the Cross References view or
> try installing 1.1.12 for a closer experience to that described in the
> book.
>
> Thanks,
>
> Sian
>
> Andrew Watters wrote:
> > I'm new to Eclipse, AJDT and aspects and have started working through
the
> > book 'eclipse AspectJ'. The book shows how the outline view shows
matches
> > for a declare warning (page 42 if anyone happens to have the book). I
see
> > the declare warning but not the matches.
> >
> > Have I mis-understood or mis-configured anything? (The book uses eclipse
3.0
> > and I am using 3.1 but I'm assuming functionality hasn't been
removed...).
> >
> > Any advice would be appreciated.
> > Andrew
> >
> >
|
|
| |
Re: Not seeing declare warning matches in outline view [message #48915 is a reply to message #48825] |
Fri, 25 February 2005 22:54 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: akwatters.hotmail.com
Hi Sian
When I look at a file with a match I do get a warning. And, you are right, I
do see a whole series of warnings in the problems view. So I know how to
track them down now which is great, I appreciate that. There are still no
matches shown in the cross references view though.
The version number of the AJDT is 1.2.0.20050124144759.
Thanks again
Andrew
"Sian January" <sjanuary@uk.ibm.com> wrote in message
news:cvmrcp$ehb$1@www.eclipse.org...
> Hi Andrew,
>
> Do you see warnings in the problems view and in the margin of the editor
> of a file in which you expect to see a match? If not what happens when
> you do a full build? (Click the orange build button on the toolbar).
> It would be really helpful to know which version of AJDT you are using.
> You can find this out by clicking 'Help' > 'About Eclipse Platform' >
> 'Plug-in Details'. Could you let me know the full version number of the
> AJDT plugin, which will look something like 1.2.0.2005xxxxxxxx?
>
> Thanks,
>
> Sian
>
>
> Andrew Watters wrote:
> > Hi Sian
> >
> > Thank you very much for your reply. I've found the Cross References
view,
> > opened it and the declare warning is selected but I still don't see any
> > matches! Have had a look through the AspectJ preferences without any
> > insight. Is there anything else that I should look at?
> >
> > Regards
> > Andrew
> >
> >
> > "Sian January" <sjanuary@uk.ibm.com> wrote in message
> > news:cvknrj$d2q$1@www.eclipse.org...
> >
> >>Hi Andrew,
> >>
> >>In recent versions of AJDT matches are shown in a new view - the Cross
> >>References view. The book is based on AJDT 1.1.12 and so I am assuming
> >>you are using a later version. Try opening the Cross References view or
> >> try installing 1.1.12 for a closer experience to that described in the
> >>book.
> >>
> >>Thanks,
> >>
> >>Sian
> >>
> >>Andrew Watters wrote:
> >>
> >>>I'm new to Eclipse, AJDT and aspects and have started working through
> >
> > the
> >
> >>>book 'eclipse AspectJ'. The book shows how the outline view shows
> >
> > matches
> >
> >>>for a declare warning (page 42 if anyone happens to have the book). I
> >
> > see
> >
> >>>the declare warning but not the matches.
> >>>
> >>>Have I mis-understood or mis-configured anything? (The book uses
eclipse
> >
> > 3.0
> >
> >>>and I am using 3.1 but I'm assuming functionality hasn't been
> >
> > removed...).
> >
> >>>Any advice would be appreciated.
> >>>Andrew
> >>>
> >>>
> >
> >
> >
|
|
|
Re: Not seeing declare warning matches in outline view [message #48945 is a reply to message #48915] |
Fri, 25 February 2005 23:46 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: akwatters.hotmail.com
Some further information.
I have now added an after advice. Both the outline and the cross references
views show 'advises' and a list of matches for the advice.
Selecting one of the advises to go to the corresponding pointcut shows
'advised by' in the cross references but nothing in the outline view.
"Andrew Watters" <akwatters@hotmail.com> wrote in message
news:cvoabn$j30$1@www.eclipse.org...
> Hi Sian
>
> When I look at a file with a match I do get a warning. And, you are right,
I
> do see a whole series of warnings in the problems view. So I know how to
> track them down now which is great, I appreciate that. There are still no
> matches shown in the cross references view though.
>
> The version number of the AJDT is 1.2.0.20050124144759.
>
> Thanks again
> Andrew
>
>
> "Sian January" <sjanuary@uk.ibm.com> wrote in message
> news:cvmrcp$ehb$1@www.eclipse.org...
> > Hi Andrew,
> >
> > Do you see warnings in the problems view and in the margin of the editor
> > of a file in which you expect to see a match? If not what happens when
> > you do a full build? (Click the orange build button on the toolbar).
> > It would be really helpful to know which version of AJDT you are using.
> > You can find this out by clicking 'Help' > 'About Eclipse Platform' >
> > 'Plug-in Details'. Could you let me know the full version number of the
> > AJDT plugin, which will look something like 1.2.0.2005xxxxxxxx?
> >
> > Thanks,
> >
> > Sian
> >
> >
> > Andrew Watters wrote:
> > > Hi Sian
> > >
> > > Thank you very much for your reply. I've found the Cross References
> view,
> > > opened it and the declare warning is selected but I still don't see
any
> > > matches! Have had a look through the AspectJ preferences without any
> > > insight. Is there anything else that I should look at?
> > >
> > > Regards
> > > Andrew
> > >
> > >
> > > "Sian January" <sjanuary@uk.ibm.com> wrote in message
> > > news:cvknrj$d2q$1@www.eclipse.org...
> > >
> > >>Hi Andrew,
> > >>
> > >>In recent versions of AJDT matches are shown in a new view - the Cross
> > >>References view. The book is based on AJDT 1.1.12 and so I am
assuming
> > >>you are using a later version. Try opening the Cross References view
or
> > >> try installing 1.1.12 for a closer experience to that described in
the
> > >>book.
> > >>
> > >>Thanks,
> > >>
> > >>Sian
> > >>
> > >>Andrew Watters wrote:
> > >>
> > >>>I'm new to Eclipse, AJDT and aspects and have started working through
> > >
> > > the
> > >
> > >>>book 'eclipse AspectJ'. The book shows how the outline view shows
> > >
> > > matches
> > >
> > >>>for a declare warning (page 42 if anyone happens to have the book). I
> > >
> > > see
> > >
> > >>>the declare warning but not the matches.
> > >>>
> > >>>Have I mis-understood or mis-configured anything? (The book uses
> eclipse
> > >
> > > 3.0
> > >
> > >>>and I am using 3.1 but I'm assuming functionality hasn't been
> > >
> > > removed...).
> > >
> > >>>Any advice would be appreciated.
> > >>>Andrew
> > >>>
> > >>>
> > >
> > >
> > >
>
>
|
|
|
Re: Not seeing declare warning matches in outline view [message #49600 is a reply to message #48945] |
Mon, 07 March 2005 17:04 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: mchapman.uk.ibm.com
Hi,
Sorry to join this a bit late, I'd just like to try to clarify things a
bit. Firstly, if you're on Eclipse 3.1, you're using a beta level version,
with a development level version of AJDT, so you should expect bugs. I
have occasionally seen the cross reference view not show something when it
should - pressing the AJDT build button usually fixes this. We're trying
to isolate this - if you can consistently reproduce this problem, please
raise a bug.
Secondly, there is an important difference between the AJDT 1.1 and 1.2
versions, as Sian alluded to. Instead of showing the crosscutting links
within the outline view, these are now shown in the separate
cross reference view (which will also have a quick in-place version). This
is quite a significant change, but there were good reasons for making it,
mainly along the lines of providing closer and more consistent integration
with the Eclipse platform and other Eclipse tools.
If you see any 'advises' entries in the outline view under AJDT 1.2 (as of
M2 onwards), this means the old custom outline view has been activated - I
suggest deactivating this (under Preferences > AspectJ). The old custom
outline view will be removed in a future milestone release.
Please get back to us if you're still having problems, or if something is
working differently to how you expect it to.
Regards,
Matt.
On Fri, 25 Feb 2005 23:46:56 +0000, Andrew Watters wrote:
> Some further information.
>
> I have now added an after advice. Both the outline and the cross references
> views show 'advises' and a list of matches for the advice.
>
> Selecting one of the advises to go to the corresponding pointcut shows
> 'advised by' in the cross references but nothing in the outline view.
>
--
Matt Chapman
AJDT Development, http://www.eclipse.org/ajdt
|
|
| |
Re: Not seeing declare warning matches in outline view [message #586991 is a reply to message #48707] |
Thu, 24 February 2005 23:52 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: akwatters.hotmail.com
Hi Sian
Thank you very much for your reply. I've found the Cross References view,
opened it and the declare warning is selected but I still don't see any
matches! Have had a look through the AspectJ preferences without any
insight. Is there anything else that I should look at?
Regards
Andrew
"Sian January" <sjanuary@uk.ibm.com> wrote in message
news:cvknrj$d2q$1@www.eclipse.org...
> Hi Andrew,
>
> In recent versions of AJDT matches are shown in a new view - the Cross
> References view. The book is based on AJDT 1.1.12 and so I am assuming
> you are using a later version. Try opening the Cross References view or
> try installing 1.1.12 for a closer experience to that described in the
> book.
>
> Thanks,
>
> Sian
>
> Andrew Watters wrote:
> > I'm new to Eclipse, AJDT and aspects and have started working through
the
> > book 'eclipse AspectJ'. The book shows how the outline view shows
matches
> > for a declare warning (page 42 if anyone happens to have the book). I
see
> > the declare warning but not the matches.
> >
> > Have I mis-understood or mis-configured anything? (The book uses eclipse
3.0
> > and I am using 3.1 but I'm assuming functionality hasn't been
removed...).
> >
> > Any advice would be appreciated.
> > Andrew
> >
> >
|
|
| |
Re: Not seeing declare warning matches in outline view [message #587045 is a reply to message #48825] |
Fri, 25 February 2005 22:54 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: akwatters.hotmail.com
Hi Sian
When I look at a file with a match I do get a warning. And, you are right, I
do see a whole series of warnings in the problems view. So I know how to
track them down now which is great, I appreciate that. There are still no
matches shown in the cross references view though.
The version number of the AJDT is 1.2.0.20050124144759.
Thanks again
Andrew
"Sian January" <sjanuary@uk.ibm.com> wrote in message
news:cvmrcp$ehb$1@www.eclipse.org...
> Hi Andrew,
>
> Do you see warnings in the problems view and in the margin of the editor
> of a file in which you expect to see a match? If not what happens when
> you do a full build? (Click the orange build button on the toolbar).
> It would be really helpful to know which version of AJDT you are using.
> You can find this out by clicking 'Help' > 'About Eclipse Platform' >
> 'Plug-in Details'. Could you let me know the full version number of the
> AJDT plugin, which will look something like 1.2.0.2005xxxxxxxx?
>
> Thanks,
>
> Sian
>
>
> Andrew Watters wrote:
> > Hi Sian
> >
> > Thank you very much for your reply. I've found the Cross References
view,
> > opened it and the declare warning is selected but I still don't see any
> > matches! Have had a look through the AspectJ preferences without any
> > insight. Is there anything else that I should look at?
> >
> > Regards
> > Andrew
> >
> >
> > "Sian January" <sjanuary@uk.ibm.com> wrote in message
> > news:cvknrj$d2q$1@www.eclipse.org...
> >
> >>Hi Andrew,
> >>
> >>In recent versions of AJDT matches are shown in a new view - the Cross
> >>References view. The book is based on AJDT 1.1.12 and so I am assuming
> >>you are using a later version. Try opening the Cross References view or
> >> try installing 1.1.12 for a closer experience to that described in the
> >>book.
> >>
> >>Thanks,
> >>
> >>Sian
> >>
> >>Andrew Watters wrote:
> >>
> >>>I'm new to Eclipse, AJDT and aspects and have started working through
> >
> > the
> >
> >>>book 'eclipse AspectJ'. The book shows how the outline view shows
> >
> > matches
> >
> >>>for a declare warning (page 42 if anyone happens to have the book). I
> >
> > see
> >
> >>>the declare warning but not the matches.
> >>>
> >>>Have I mis-understood or mis-configured anything? (The book uses
eclipse
> >
> > 3.0
> >
> >>>and I am using 3.1 but I'm assuming functionality hasn't been
> >
> > removed...).
> >
> >>>Any advice would be appreciated.
> >>>Andrew
> >>>
> >>>
> >
> >
> >
|
|
|
Re: Not seeing declare warning matches in outline view [message #587054 is a reply to message #48915] |
Fri, 25 February 2005 23:46 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: akwatters.hotmail.com
Some further information.
I have now added an after advice. Both the outline and the cross references
views show 'advises' and a list of matches for the advice.
Selecting one of the advises to go to the corresponding pointcut shows
'advised by' in the cross references but nothing in the outline view.
"Andrew Watters" <akwatters@hotmail.com> wrote in message
news:cvoabn$j30$1@www.eclipse.org...
> Hi Sian
>
> When I look at a file with a match I do get a warning. And, you are right,
I
> do see a whole series of warnings in the problems view. So I know how to
> track them down now which is great, I appreciate that. There are still no
> matches shown in the cross references view though.
>
> The version number of the AJDT is 1.2.0.20050124144759.
>
> Thanks again
> Andrew
>
>
> "Sian January" <sjanuary@uk.ibm.com> wrote in message
> news:cvmrcp$ehb$1@www.eclipse.org...
> > Hi Andrew,
> >
> > Do you see warnings in the problems view and in the margin of the editor
> > of a file in which you expect to see a match? If not what happens when
> > you do a full build? (Click the orange build button on the toolbar).
> > It would be really helpful to know which version of AJDT you are using.
> > You can find this out by clicking 'Help' > 'About Eclipse Platform' >
> > 'Plug-in Details'. Could you let me know the full version number of the
> > AJDT plugin, which will look something like 1.2.0.2005xxxxxxxx?
> >
> > Thanks,
> >
> > Sian
> >
> >
> > Andrew Watters wrote:
> > > Hi Sian
> > >
> > > Thank you very much for your reply. I've found the Cross References
> view,
> > > opened it and the declare warning is selected but I still don't see
any
> > > matches! Have had a look through the AspectJ preferences without any
> > > insight. Is there anything else that I should look at?
> > >
> > > Regards
> > > Andrew
> > >
> > >
> > > "Sian January" <sjanuary@uk.ibm.com> wrote in message
> > > news:cvknrj$d2q$1@www.eclipse.org...
> > >
> > >>Hi Andrew,
> > >>
> > >>In recent versions of AJDT matches are shown in a new view - the Cross
> > >>References view. The book is based on AJDT 1.1.12 and so I am
assuming
> > >>you are using a later version. Try opening the Cross References view
or
> > >> try installing 1.1.12 for a closer experience to that described in
the
> > >>book.
> > >>
> > >>Thanks,
> > >>
> > >>Sian
> > >>
> > >>Andrew Watters wrote:
> > >>
> > >>>I'm new to Eclipse, AJDT and aspects and have started working through
> > >
> > > the
> > >
> > >>>book 'eclipse AspectJ'. The book shows how the outline view shows
> > >
> > > matches
> > >
> > >>>for a declare warning (page 42 if anyone happens to have the book). I
> > >
> > > see
> > >
> > >>>the declare warning but not the matches.
> > >>>
> > >>>Have I mis-understood or mis-configured anything? (The book uses
> eclipse
> > >
> > > 3.0
> > >
> > >>>and I am using 3.1 but I'm assuming functionality hasn't been
> > >
> > > removed...).
> > >
> > >>>Any advice would be appreciated.
> > >>>Andrew
> > >>>
> > >>>
> > >
> > >
> > >
>
>
|
|
|
Re: Not seeing declare warning matches in outline view [message #587277 is a reply to message #48945] |
Mon, 07 March 2005 17:04 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) |
Matt Chapman![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=mpchapman%40gmail.com) Messages: 429 Registered: July 2009 |
Senior Member |
|
|
Hi,
Sorry to join this a bit late, I'd just like to try to clarify things a
bit. Firstly, if you're on Eclipse 3.1, you're using a beta level version,
with a development level version of AJDT, so you should expect bugs. I
have occasionally seen the cross reference view not show something when it
should - pressing the AJDT build button usually fixes this. We're trying
to isolate this - if you can consistently reproduce this problem, please
raise a bug.
Secondly, there is an important difference between the AJDT 1.1 and 1.2
versions, as Sian alluded to. Instead of showing the crosscutting links
within the outline view, these are now shown in the separate
cross reference view (which will also have a quick in-place version). This
is quite a significant change, but there were good reasons for making it,
mainly along the lines of providing closer and more consistent integration
with the Eclipse platform and other Eclipse tools.
If you see any 'advises' entries in the outline view under AJDT 1.2 (as of
M2 onwards), this means the old custom outline view has been activated - I
suggest deactivating this (under Preferences > AspectJ). The old custom
outline view will be removed in a future milestone release.
Please get back to us if you're still having problems, or if something is
working differently to how you expect it to.
Regards,
Matt.
On Fri, 25 Feb 2005 23:46:56 +0000, Andrew Watters wrote:
> Some further information.
>
> I have now added an after advice. Both the outline and the cross references
> views show 'advises' and a list of matches for the advice.
>
> Selecting one of the advises to go to the corresponding pointcut shows
> 'advised by' in the cross references but nothing in the outline view.
>
--
Matt Chapman
AJDT Development, http://www.eclipse.org/ajdt
|
|
|
Goto Forum:
Current Time: Fri Aug 16 22:07:08 GMT 2024
Powered by FUDForum. Page generated in 0.04522 seconds
|