[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] How to remove aspectjrt.jar runtime dependecy while using AspectJ

In addition to Andy's comment note that having aspectjrt.jar on the classpath in no way means you are not running under a "normal VM". The situation is no different to any other class library you might use in your application and also need to put on the classpath. No weaving or anything of that nature happens at runtime, and there are no special JVM requirements for running aspectj applications.

On 02/03/06, Rajendra Prasad Vissapragada <rajvissa@xxxxxxxxx> wrote:
I have a scenario, where I would like to implement
logging using aspects(AspectJ). But when we build with
AJC the ajc weaves logging code into the class files
and also keeps a reference to aspectjrt.jar classes.

I want aspectj to weave the logging into the code, but
shouldn't require the aspectjrt.jar (although it is of
smaller footprint).
Plainly speaking it should run under normal JVM.

Is there any way of doing this?


Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.com
aspectj-users mailing list

-- Adrian