Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] aspectjtools.jar

So my guess was right. I added that artifact that time because I wanted to access a private method of a class which was located in another maven module … (Which is not my case anymore)

Thank you Andrew for the answer ;)
Sina

On Dec 2, 2012, at 8:13 PM, Andrew Eisenberg <andrew@xxxxxxxxxxxx> wrote:

> In general, aspectjtools is only needed if you are doing load time
> weaving.  The aspectjtools artifact contains the weaver, which is one
> of the reasons why the artifact is so large.  If you are not doing
> LTW, then you probably don't need it.
> 
> On Sun, Dec 2, 2012 at 3:24 AM, Sina <my.linked.account@xxxxxxxxxxxxxx> wrote:
>> Hi there,
>> 
>> I have a question which may seem somehow trivial! But anyway here it is:
>> 
>> I have a Maven project which consists of many sub projects and in some of
>> them I'm using AspectJ.
>> I've added these dependencies in pom files:
>> <dependency>
>> <groupId>org.aspectj</groupId>
>> <artifactId>aspectjrt</artifactId>
>> <version>${aspectj.version}</version>
>> <scope>compile</scope>
>> </dependency>
>> <dependency>
>> <groupId>org.aspectj</groupId>
>> <artifactId>aspectjtools</artifactId>
>> <version>${aspectj.version}</version>
>> <scope>compile</scope>
>> </dependency>
>> 
>> Right now I'm trying to reduce the size of my ear file and I noticed that
>> aspectjtool.jar has a good size (~9MB) but I cannot remember why do I
>> need that? Is there any documentation in which I can find what are the uses
>> of this jar file (I didn't find any).
>> 
>> Previously I used privileged keyword  to access some private method of a
>> class of another module but I don't need that anymore. (I think I added that
>> jar file because of that but right now I'm not quite sure). I also don't
>> need any load-time weaving.
>> 
>> Thanks
>> Sina
>> 
>> 
>> 
>> _______________________________________________
>> aspectj-users mailing list
>> aspectj-users@xxxxxxxxxxx
>> https://dev.eclipse.org/mailman/listinfo/aspectj-users
>> 
> _______________________________________________
> aspectj-users mailing list
> aspectj-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/aspectj-users



Back to the top