Skip to main content



      Home
Home » Language IDEs » AspectJ » Working with AJEER
Working with AJEER [message #52371] Mon, 30 May 2005 06:08 Go to next message
Eclipse UserFriend
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 #52401 is a reply to message #52371] Tue, 31 May 2005 15:10 Go to previous messageGo to next message
Eclipse UserFriend
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 #52434 is a reply to message #52401] Wed, 01 June 2005 03:20 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: orenmish.hotmail.com

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 #52452 is a reply to message #52434] Wed, 01 June 2005 13:55 Go to previous messageGo to next message
Eclipse UserFriend
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.
>
Re: Working with AJEER [message #52479 is a reply to message #52452] Thu, 02 June 2005 03:22 Go to previous message
Eclipse UserFriend
Originally posted by: orenmish.hotmail.com

Hi,

Right now, I can't think of any place where I can put a sample.
Meanwhile, please send me a mail to orenmish@hotmail.com and I'll reply
with a sample.

Best reagrds,
Oren.
Re: Working with AJEER [message #588435 is a reply to message #52371] Tue, 31 May 2005 15:10 Go to previous message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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.
>
Re: Working with AJEER [message #588460 is a reply to message #52452] Thu, 02 June 2005 03:22 Go to previous message
Eclipse UserFriend
Hi,

Right now, I can't think of any place where I can put a sample.
Meanwhile, please send me a mail to orenmish@hotmail.com and I'll reply
with a sample.

Best reagrds,
Oren.
Previous Topic:Working with AJEER
Next Topic:Strange compilation behavior
Goto Forum:
  


Current Time: Thu May 08 12:21:58 EDT 2025

Powered by FUDForum. Page generated in 0.04821 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top