Actually I'm not using the Equinox from the Equinox Aspects project.
I'm doing AspectJ compile-time (offline) weaving of a standard Equinox 
framework.

AspectJ 1.5
Equinox 3.2.0

Does the list allow the attaching of a file?
I can attach the weaved jar.

Thanks for the help.


Subject: AW: [equinox-dev] Classloading problems running Equinox weaved AspectJ
Date: Tue, 18 Mar 2008 13:33:10 +0100
From: [EMAIL PROTECTED]
To: equinox-dev@eclipse.org



















Kiev,

 

Could you please provide
some more information about your setting?

 

- Are you using
compile-time weaving or loag-time weaving by Equinox Aspects?

- Which AspectJ version
are you using?

 

Further it could be
valuable if you could attach your project(s) …

 

Heiko

 









Von:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Kiev Gama

Gesendet: Dienstag, 18. März 2008
02:11

An: equinox-dev@eclipse.org

Betreff: [equinox-dev]
Classloading problems running Equinox weaved AspectJ



 

Hello,



I weaved Equinox framework v 3.2.0 with AspectJ and I am getting the following
the weaved framework:



Exception in thread "main" java.lang.NoClassDefFoundError:
org/eclipse/osgi/framework/log/FrameworkLogEntry

Caused by: java.lang.ClassNotFoundException:
org.eclipse.osgi.framework.log.FrameworkLogEntry

        at java.net.URLClassLoader$1.run(Unknown Source)

        at
java.security.AccessController.doPrivileged(Native Method)

        at java.net.URLClassLoader.findClass(Unknown
Source)

        at java.lang.ClassLoader.loadClass(Unknown Source)

        at java.lang.ClassLoader.loadClass(Unknown Source)

        at java.lang.ClassLoader.loadClassInternal(Unknown
Source)





The FrameworkLogEntry class is the weaved jar. Does anybody know in detail how
the class loading works or why that is happening?



This version does not use digitally signed jars. I found errors regarding the
hashing of classes with version 3.3 and that is why I've tried weaving a
previous version.



Thanks,



Kiev Gama

 







Do more with your photos with Windows Live Photo Gallery. Get Windows Live-Free







_________________________________________________________________
Do more with your photos with Windows Live Photo Gallery.
http://www.windowslive.com/share.html?ocid=TXT_TAGLM_Wave2_photos_022008
_______________________________________________
equinox-dev mailing list
equinox-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/equinox-dev

Reply via email to