Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » AspectJ » Newbie: aspectj runtime
Newbie: aspectj runtime [message #66763] Wed, 09 August 2006 10:43 Go to next message
Eclipse UserFriend
Originally posted by: Daniel.Hirscher.innovations.de

Hi,

I played around with ADJT and could get running some examples
and tests. I also tested with AOP in plug-in projects.
Then I realized that I have to add the aspectj runtime
to the manifest.mf as plug-in dependency.

So, why is this needed?
I thought the aspects are woven into the class files.
What does the runtime do?

I would like to use AOP in my plug-in projects but the
dependency to AJDT is not what I want.

Are there other solutions to get the runtime without
a dependency to AJDT? What are the best practices?


Regards,
Daniel
Re: Newbie: aspectj runtime [message #66866 is a reply to message #66763] Wed, 09 August 2006 13:31 Go to previous message
Matt Chapman is currently offline Matt ChapmanFriend
Messages: 429
Registered: July 2009
Senior Member
Hi,

Yes, aspects are woven into class files, but there will be references to
classes in the runtime library. This needs to be distributed with your
plugins. This is unavoidable, but you don't need a dependency on AJDT,
only on the very small org.aspectj.runtime plugin.

Regards,

Matt.

Daniel Hirscher wrote:
> Hi,
>
> I played around with ADJT and could get running some examples
> and tests. I also tested with AOP in plug-in projects.
> Then I realized that I have to add the aspectj runtime
> to the manifest.mf as plug-in dependency.
>
> So, why is this needed?
> I thought the aspects are woven into the class files.
> What does the runtime do?
>
> I would like to use AOP in my plug-in projects but the
> dependency to AJDT is not what I want.
>
> Are there other solutions to get the runtime without
> a dependency to AJDT? What are the best practices?
>
>
> Regards,
> Daniel
Re: Newbie: aspectj runtime [message #594634 is a reply to message #66763] Wed, 09 August 2006 13:31 Go to previous message
Matt Chapman is currently offline Matt ChapmanFriend
Messages: 429
Registered: July 2009
Senior Member
Hi,

Yes, aspects are woven into class files, but there will be references to
classes in the runtime library. This needs to be distributed with your
plugins. This is unavoidable, but you don't need a dependency on AJDT,
only on the very small org.aspectj.runtime plugin.

Regards,

Matt.

Daniel Hirscher wrote:
> Hi,
>
> I played around with ADJT and could get running some examples
> and tests. I also tested with AOP in plug-in projects.
> Then I realized that I have to add the aspectj runtime
> to the manifest.mf as plug-in dependency.
>
> So, why is this needed?
> I thought the aspects are woven into the class files.
> What does the runtime do?
>
> I would like to use AOP in my plug-in projects but the
> dependency to AJDT is not what I want.
>
> Are there other solutions to get the runtime without
> a dependency to AJDT? What are the best practices?
>
>
> Regards,
> Daniel
Previous Topic:Using ant for compiling jar project
Next Topic:AspectJ compiler in Eclipse ignores "Includes/Excludes" in source path
Goto Forum:
  


Current Time: Fri Apr 19 23:35:16 GMT 2024

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

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

Back to the top