Working with AJEER [message #52371] |
Mon, 30 May 2005 06:08  |
Eclipse User |
|
|
|
Originally posted by: orenmish.hotmail.com
Hi All,
I'm trying to use AJEER plugin in order to weave a simple tracing aspect
to all eclipse plugins. But it doesn't work...
Shortly, here is what I did (following AJEER README very carefully):
1) I created new plugin project and converted it to AspectJ project.
2) I Added an aspect:
public aspect Executions {
pointcut allExecutions(): execution(public * *(..));
before(): allExecutions(){
System.out.println(thisJoinPoint);
}
}
3) I updated plugin.xml and it looks like that:
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?>
<plugin>
<extension
id="AllExecutions"
name="All Executions"
point="org.aspectj.weavingruntime.aspects">
<aspect class="ajeer.example.aspects.Executions"/>
</extension>
</plugin>
4) I Created MANIFEST.MF and updated the startup parameters.
Then, I started a new workbench and I got ONLY this message to the
conslole:
MY PERSONAL ADAPTOR IS CREATED AND WILL START THE FRAMEWORK
Start Weaving Service
Where is all the other output??
Can anyone help???
Thanks in advance,
Oren.
|
|
|
|
|
|
|
Re: Working with AJEER [message #588435 is a reply to message #52371] |
Tue, 31 May 2005 15:10  |
Eclipse User |
|
|
|
Have you tried to contact Martin on that?
I wish he had a sample bundled with AJEER!
"Oren Mishali" <orenmish@hotmail.com> wrote in message
news:0c93781593736667543c20e0b506b6da$1@www.eclipse.org...
> Hi All,
>
> I'm trying to use AJEER plugin in order to weave a simple tracing aspect
> to all eclipse plugins. But it doesn't work...
>
> Shortly, here is what I did (following AJEER README very carefully):
> 1) I created new plugin project and converted it to AspectJ project.
> 2) I Added an aspect:
>
> public aspect Executions {
> pointcut allExecutions(): execution(public * *(..));
>
> before(): allExecutions(){
> System.out.println(thisJoinPoint);
> }
> }
>
> 3) I updated plugin.xml and it looks like that:
> <?xml version="1.0" encoding="UTF-8"?>
> <?eclipse version="3.0"?>
> <plugin>
> <extension
> id="AllExecutions"
> name="All Executions"
> point="org.aspectj.weavingruntime.aspects">
> <aspect class="ajeer.example.aspects.Executions"/>
> </extension>
> </plugin>
>
> 4) I Created MANIFEST.MF and updated the startup parameters.
>
> Then, I started a new workbench and I got ONLY this message to the
> conslole:
>
> MY PERSONAL ADAPTOR IS CREATED AND WILL START THE FRAMEWORK
> Start Weaving Service
>
> Where is all the other output??
> Can anyone help???
>
> Thanks in advance,
> Oren.
>
>
|
|
|
Re: Working with AJEER [message #588446 is a reply to message #52401] |
Wed, 01 June 2005 03:20  |
Eclipse User |
|
|
|
Well now it's working!
Indeed, I contacted Martin and my problem was that I was using AJDT 1.2.0
and the current version of AJEER(1.2.0) requires AJDT 1.1.12.
Thanks,
Oren.
|
|
|
Re: Working with AJEER [message #588452 is a reply to message #52434] |
Wed, 01 June 2005 13:55  |
Eclipse User |
|
|
|
Nice!
Can you share you sample somewhere?
Rather as a link than an attachment?
"Oren Mishali" <orenmish@hotmail.com> wrote in message
news:60916c9c0112ebaf3f9c20a7af02fed4$1@www.eclipse.org...
> Well now it's working!
>
> Indeed, I contacted Martin and my problem was that I was using AJDT 1.2.0
> and the current version of AJEER(1.2.0) requires AJDT 1.1.12.
>
> Thanks,
> Oren.
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.05821 seconds