[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[List Home]
|
Re: [aspectj-users] Why JoinPoint interface present in both aspectjrt and aspectj-weaver?
|
- From: Andy Clement <andrew.clement@xxxxxxxxx>
- Date: Mon, 5 Oct 2009 08:49:24 -0700
- Delivered-to: aspectj-users@eclipse.org
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=1kRu5Nm3gPGDK3U5c/lCntnUvt4uWQL7blNxwCSWtZI=; b=lKlBfqdskz9HgRFE2NmDgdFPRXeyz6xOlNW5Ox8gdjB9hi7jsrzIzQ0sjLzdOWg6sD jiEyhQSOt4mq7vYPrtH39ncZz0824Oo4S2fVGuyXMh3+7KsCHHvE42H9ClOey4uIZSer YrmROgcG8E1aoscVadATAtAHU9DmAI8bRwGis=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=VWGBPUbLxul71lc7r0kft8O4+PO8kyDRqm2+MxXpROAXplpRLCWfmieokuI1Wd5RtF nB7J4ZACQTjPU60jVXIut/zsQH3v/F0ULx9LZfCyRUSuPGpkv0aynDx7zPbLbKG4Vcez 54QElUy7oRAYE5Hf2JWtxhKLb6J0iHHSEPwog=
As Tahir suggests, the jars are supersets of each other. aspectjrt.jar
is the smallest, aspectjweaver is next and aspectjtools after that.
The manifests packaged with each are not really suitable for direct
deployment into an OSGi environment. I believe the versions hosted in
the SpringSource bundle repo have the correct manifests, see
http://www.springsource.com/repository/app/library/version/detail?name=org.aspectj&version=1.6.5.RELEASE&searchType=librariesByName&searchQuery=aspectj
Andy
2009/10/4 Tahir Akhtar <tahir@xxxxxxxxxxxxxxxxxxx>:
> For usual compile-time weaving you don't need aspectj-weaver.jar in runtime
> class path. You need it only during compile-time i-e when you invoke iajc.
> aspectj-runtime.jar, as the name suggests, contains the runtime classes and
> interfaces.
>
> Regards
> Tahir Akhtar
> Shashikant Kale wrote:
>
> Hi,
>
>
>
> I am currently migrating my application to OSGi environment. I am getting
> linkage error while classloader is trying to load the class JoinPoint.
>
>
>
> Caused by: java.lang.LinkageError: loader constraints violated when linking
> org/aspectj/lang/JoinPoint class
>
>
>
> I find that both aspectj-weaver and aspectj-runtime have this interface
> defined. Is there any specific reason why this interface is included in both
> the jars?
>
>
>
> Regards,
>
> Shashi
>
> ________________________________
> _______________________________________________
> 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
>
>