[equinox-dev] AUTO: Michael Iles is out of the office (returning 21/03/2008)

2008-03-18 Thread Michael Iles

I am out of the office until 21/03/2008.

I am out of the office for the week of Mar. 17 to 20 with regular access to
email. For emergency Go! Mobile issues please contact Michael Cyze.


Note: This is an automated response to your message [equinox-dev] AUTO:
Michael Iles is out of the office (returning21/03/2008) sent on 3/18/08
16:04:03.
You will receive a notification for each message you send to this person
while the person is away.

___
equinox-dev mailing list
equinox-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/equinox-dev


[equinox-dev] AUTO: Michael Iles is out of the office (returning 21/03/2008)

2008-03-18 Thread Michael Iles

I am out of the office until 21/03/2008.

I am out of the office for the week of Mar. 17 to 20 with regular access to
email. For emergency Go! Mobile issues please contact Michael Cyze.


Note: This is an automated response to your message Re: [equinox-dev] Re:
Does equinox support extension:=bootclasspath sent on 3/18/08 19:08:38.
You will receive a notification for each message you send to this person
while the person is away.

___
equinox-dev mailing list
equinox-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/equinox-dev


[equinox-dev] AUTO: Michael Iles is out of the office (returning 21/03/2008)

2008-03-18 Thread Michael Iles

I am out of the office until 21/03/2008.

I am out of the office for the week of Mar. 17 to 20 with regular access to
email. For emergency Go! Mobile issues please contact Michael Cyze.


Note: This is an automated response to your message [equinox-dev] AUTO:
Michael Iles is out of the office (returning21/03/2008) sent on 3/18/08
16:04:03.
You will receive a notification for each message you send to this person
while the person is away.

___
equinox-dev mailing list
equinox-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/equinox-dev


[equinox-dev] AUTO: Michael Iles is out of the office (returning 21/03/2008)

2008-03-18 Thread Michael Iles

I am out of the office until 21/03/2008.

I am out of the office for the week of Mar. 17 to 20 with regular access to
email. For emergency Go! Mobile issues please contact Michael Cyze.


Note: This is an automated response to your message [equinox-dev] AUTO:
Michael Iles is out of the office (returning21/03/2008) sent on 3/18/08
16:04:03.
You will receive a notification for each message you send to this person
while the person is away.

___
equinox-dev mailing list
equinox-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/equinox-dev


Re: [equinox-dev] Re: Does equinox support extension:=bootclasspath

2008-03-18 Thread Thomas Watson

The short answer is no and we have no plans to implement it in the current
3.4 release.  But there is a bug open
https://bugs.eclipse.org/bugs/show_bug.cgi?id=127724

We could consider implementing it in a future release.  The struggle we
have had with this feature in OSGi is to implement true boot classpath
extensions we need to know about the extensions before the VM is even
launched.  This could be done by modifying the eclipse.ini but the problem
with this is that eclipse.ini is not managed by the framework.  In 3.4 p2
can now manage this file.  One possibility would be to have p2 manage the
eclipse.ini to add the proper boot classpath arguments with the
bootclasspath extension content.  I don't really like this solution either
because it involves a dance between p2 and the framework in order to make
bootclasspath fragments really work.  In other words they will not work in
a framework that does not have p2 managing it.

Tom





  
  From:   "Alin Dreghiciu" <[EMAIL PROTECTED]>  
   

  
  To: equinox-dev@eclipse.org   
  

  
  Date:   03/18/2008 08:10 AM   
  

  
  Subject:[equinox-dev] Re: Does equinox support extension:=bootclasspath   


  





And related: If the answer is "no", is there a plan to supported in the
future?

Thanx again,
Alin

On Tue, Mar 18, 2008 at 9:04 PM, Alin Dreghiciu <[EMAIL PROTECTED]>
wrote:
> Hi guys,
>
>  Does equinox support extension:=bootclasspath? I cannot find a clear
>  reference about the subject, only some mail archive back from 2006.
>  As I see the property "org.osgi.supports.bootclasspath.extension" is
>  not set (in 3.3.1), so it defaults to false = it does not support.
>
>  Thanx,
>  Alin Dreghiciu
>
___
equinox-dev mailing list
equinox-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/equinox-dev
<><>___
equinox-dev mailing list
equinox-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/equinox-dev


[equinox-dev] AUTO: Michael Iles is out of the office (returning 21/03/2008)

2008-03-18 Thread Michael Iles

I am out of the office until 21/03/2008.

I am out of the office for the week of Mar. 17 to 20 with regular access to
email. For emergency Go! Mobile issues please contact Michael Cyze.


Note: This is an automated response to your message Re: [equinox-dev] P2
artifact repositories and caching sent on 3/18/08 15:43:11.
You will receive a notification for each message you send to this person
while the person is away.

___
equinox-dev mailing list
equinox-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/equinox-dev


[equinox-dev] AUTO: Michael Iles is out of the office (returning 21/03/2008)

2008-03-18 Thread Michael Iles

I am out of the office until 21/03/2008.

I am out of the office for the week of Mar. 17 to 20 with regular access to
email. For emergency Go! Mobile issues please contact Michael Cyze.


Note: This is an automated response to your message RE: AW: AW: AW:
[equinox-dev] Classloading problems running EquinoxweavedAspectJ sent
on 3/18/08 12:10:21.
You will receive a notification for each message you send to this person
while the person is away.

___
equinox-dev mailing list
equinox-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/equinox-dev


[equinox-dev] AUTO: Michael Iles is out of the office (returning 21/03/2008)

2008-03-18 Thread Michael Iles

I am out of the office until 21/03/2008.

I am out of the office for the week of Mar. 17 to 20 with regular access to
email. For emergency Go! Mobile issues please contact Michael Cyze.


Note: This is an automated response to your message Re: AW: AW: AW:
[equinox-dev] Classloading problems running EquinoxweavedAspectJ sent
on 3/18/08 12:50:23.
You will receive a notification for each message you send to this person
while the person is away.

___
equinox-dev mailing list
equinox-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/equinox-dev


Re: [equinox-dev] P2 artifact repositories and caching

2008-03-18 Thread John Arthorne
There is nothing under development that is not in current project set. 
There isn't really any notion of a global artifact cache in p2 - rather 
artifacts get mirrored from one repository to another as part of an 
install (typically from a remote repository to a local one). Thus local 
repositories such as the bundle pool (AggregatedBundleRepository) act 
somewhat like caches, but there is no notion of cache staleness. If you 
have artifact with id "foo" and version "1.0.0.v20080318-0800", it is 
assumed that there is only one unique set of bits associated with it, and 
once you have those bits there is no possibility of them becoming stale. 
There is MD5 support today but it is not currently enabled (see 
https://bugs.eclipse.org/bugs/show_bug.cgi?id=222870).

John




Thomas Hallgren <[EMAIL PROTECTED]> 
Sent by: [EMAIL PROTECTED]
03/17/2008 06:45 AM
Please respond to
Equinox development mailing list 


To
Equinox development mailing list 
cc

Subject
[equinox-dev] P2 artifact repositories and caching






In Buckminster, we need a global artifact cache for downloaded things. 
What I envision is a cache that can use different strategies to decide 
whether or not the local content is up-to-date. One such strategy could 
be to compare with a remote digest of some sort (md5 for instance). 
Another could be to verify the consistency of a local compressed archive 
and be satisfied with the exact same size (not 100% safe of course, but 
in some cases its sufficient).

I found the BlobStore in p2 and that will help some. I was under the 
impression that a "download manager" was under development that would 
address caching issues like the ones I mention. Are there more things 
under development that are not covered by the current team project set?

Regards,
Thomas Hallgren

___
equinox-dev mailing list
equinox-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/equinox-dev

___
equinox-dev mailing list
equinox-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/equinox-dev


Re: AW: AW: AW: [equinox-dev] Classloading problems running EquinoxweavedAspectJ

2008-03-18 Thread Alin Dreghiciu
We have an issue in Pax Runner related to this, so it may be that the
work around from there will also help you:
http://issues.ops4j.org/jira/browse/PAXRUNNER-115
You do not have to use Pax Runner, is just that will give you hints
what you have to set in order to solve the NoClassDefFound. I guess
that beside what you have done you have to set also the classpath and
boot delegation to include org.aspectj.*

Actually this is my reason behind my question about equinox supporting
extension:=bootclasspath as that it may be a solution.

Alin Dreghiciu

On Wed, Mar 19, 2008 at 12:10 AM, Kiev Gama <[EMAIL PROTECTED]> wrote:
>
> Thank you Heiko.
>
> Here is what I did after your last mail:
>
> 1-I've "bundlized" aspectjrt.jar into aspectjrt-osgi.jar, and copied it to
> the same place of the weaved equinox
> My aspectjrt-osgi.jar has the following header in its manifest
> Fragment-Host: org.eclipse.osgi;bundle-version="3.2.0.v20060601"
>
> 2-Run the equinox like this:
> java -Dosgi.framework.extensions=aspectjrt-osgi.jar -jar
> org.eclipse.osgi_3.2.0.v20060601.jar -console
>
> 3-The following happens:
>
> java.lang.NoClassDefFoundError: org/aspectj/lang/NoAspectBoundException
> at
> org.eclipse.osgi.baseadaptor.BaseAdaptor$ParentClassLoader.(Bas
> eAdaptor.java:76)
> at
> org.eclipse.osgi.baseadaptor.BaseAdaptor.(BaseAdaptor.java:70
> )
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Unknown Source)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.createAdaptor(Eclipse
> Starter.java:777)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarte
> r.java:280)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.ja
> va:173)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.main(EclipseStarter.j
> ava:150)
> Caused by: java.lang.ClassNotFoundException:
> org.aspectj.lang.NoAspectBoundExcep
> tion
>
> 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 sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
>
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at java.lang.ClassLoader.loadClassInternal(Unknown Source)
> ... 8 more
>
>
> However if I run like this it works fine:
> java -Djava.ext.dirs=. -jar org.eclipse.osgi_3.2.0.v20060601.jar -console
>
> I am not sure of the consequences (I would be glad to know it) of this in
> the long run, but I've installed some bundles with no problem. The weaving
> worked as well.
>
> If you could help me to do it the right way that would be awesome.
>
> Thanks again!
>
> Kiev
> 
> Subject: AW: AW: AW: [equinox-dev] Classloading problems running
> EquinoxweavedAspectJ
> Date: Tue, 18 Mar 2008 15:59:27 +0100
>
>
> From: [EMAIL PROTECTED]
> To: equinox-dev@eclipse.org
>
>
>
>
> Kiev,
>
>
>
> OSGi will not allow you any non-OSGi class loading tricks.
>
>
>
> Yes, you can have a fragment for the system bundle. These are called
> framework extension bundles.
>
> In order to be found by Equinox this fragment has to be co-located with the
> system bundle and you have to register it by the system property
>
> osgi.framework.extensions=
>
>
>
> Heiko
>
>  
>
>
> Von: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Im Auftrag von Kiev Gama
>  Gesendet: Dienstag, 18. März 2008 06:57
>  An: Equinox development mailing list
>  Betreff: RE: AW: AW: [equinox-dev] Classloading problems running
> EquinoxweavedAspectJ
>
>
>
> Thanks for the response.
>
>  I have tried to run in two different ways:
>
>  1 - If I put aspectJrt.jar in the classpath I get an explicit dependency
> error on the AJ classes
>  2 - Then, I've set the aspectJ\lib in the java.ext.dirs option and I've got
> the error that I sent.
>
>  I'll check on that other tip that you gave me.
>  Can I use fragment bundles with the bundle 0 (framework bundle) ?
>
>  Thanks again
>
>
>
>
>  
>
>
> Subject: AW: AW: [equinox-dev] Classloading problems running Equinox
> weavedAspectJ
>  Date: Tue, 18 Mar 2008 14:18:12 +0100
>  From: [EMAIL PROTECTED]
>  To: equinox-dev@eclipse.org
>
>
> Kiev,
>
>
>
> Thank you for the information provided.
>
>
>
> As far as I understand you are weaving some aspects into Equinox (into the
> FrameworkLogEntry), right?
>
>
>
> This will create dependencies from Equinox to your classes and possibly to
> AspectJ (for example when using around advices). These dependencies cannot
> be resolved, because in OSGi only dependencies declared in the bundle
> manifest are visible.
>
>
>
> Maybe you could put your classes and the AspectJ runtime library into a
> framework extension fragment (look for details in the Eclipse Wiki).
>
> Any comments on 

RE: AW: AW: AW: [equinox-dev] Classloading problems running EquinoxweavedAspectJ

2008-03-18 Thread Kiev Gama
Thank you Heiko.

Here is what I did after your last mail:

1-I've "bundlized" aspectjrt.jar into aspectjrt-osgi.jar, and copied it to the 
same place of the weaved equinox
My aspectjrt-osgi.jar has the following header in its manifest
Fragment-Host: org.eclipse.osgi;bundle-version="3.2.0.v20060601"

2-Run the equinox like this:
java -Dosgi.framework.extensions=aspectjrt-osgi.jar -jar 
org.eclipse.osgi_3.2.0.v20060601.jar -console

3-The following happens:

java.lang.NoClassDefFoundError: org/aspectj/lang/NoAspectBoundException
at org.eclipse.osgi.baseadaptor.BaseAdaptor$ParentClassLoader.(Bas
eAdaptor.java:76)
at org.eclipse.osgi.baseadaptor.BaseAdaptor.(BaseAdaptor.java:70
)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at org.eclipse.core.runtime.adaptor.EclipseStarter.createAdaptor(Eclipse
Starter.java:777)
at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarte
r.java:280)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.ja
va:173)
at org.eclipse.core.runtime.adaptor.EclipseStarter.main(EclipseStarter.j
ava:150)
Caused by: java.lang.ClassNotFoundException: org.aspectj.lang.NoAspectBoundExcep
tion
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 sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
... 8 more


However if I run like this it works fine:
java -Djava.ext.dirs=. -jar org.eclipse.osgi_3.2.0.v20060601.jar -console


I am not sure of the consequences (I would be glad to know it) of this in the 
long run, but I've installed some bundles with no problem. The weaving worked 
as well.

If you could help me to do it the right way that would be awesome.

Thanks again!

Kiev
Subject: AW: AW: AW: [equinox-dev] Classloading problems running
EquinoxweavedAspectJ
Date: Tue, 18 Mar 2008 15:59:27 +0100
From: [EMAIL PROTECTED]
To: equinox-dev@eclipse.org























Kiev,

 

OSGi will not allow you
any non-OSGi class loading tricks.

 

Yes, you can have a
fragment for the system bundle. These are called framework extension bundles.

In order to be found by Equinox
this fragment has to be co-located with the system bundle and you have to
register it by the system property

osgi.framework.extensions=

 

Heiko









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

Gesendet: Dienstag, 18. März 2008
06:57

An: Equinox
 development mailing list

Betreff: RE: AW: AW: [equinox-dev]
Classloading problems running EquinoxweavedAspectJ



 

Thanks for the response.



I have tried to run in two different ways:



1 - If I put aspectJrt.jar in the classpath I get an explicit dependency error
on the AJ classes

2 - Then, I've set the aspectJ\lib in the java.ext.dirs option and I've got the
error that I sent.



I'll check on that other tip that you gave me.

Can I use fragment bundles with the bundle 0 (framework bundle) ?



Thanks again













Subject: AW: AW: [equinox-dev]
Classloading problems running Equinox weavedAspectJ

Date: Tue, 18 Mar 2008 14:18:12 +0100

From: [EMAIL PROTECTED]

To: equinox-dev@eclipse.org



Kiev,

 

Thank you for the
information provided.

 

As far as I understand
you are weaving some aspects into Equinox (into the FrameworkLogEntry), right?

 

This will create
dependencies from Equinox to your classes and possibly to AspectJ (for example
when using around advices). These dependencies cannot be resolved, because in
OSGi only dependencies declared in the bundle manifest are visible.

 

Maybe you could put your
classes and the AspectJ runtime library into a framework extension fragment
(look for details in the Eclipse Wiki).

Any comments on this?

 

Another solution could be
to use Equinox Aspects and load-time weaving.

 

Heiko

 









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

Gesendet: Dienstag, 18. März 2008
05:53

An: Equinox
 development mailing list

Betreff: RE: AW: [equinox-dev]
Classloading problems running Equinox weavedAspectJ



 

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
w

AW: AW: AW: [equinox-dev] Classloading problems running EquinoxweavedAspectJ

2008-03-18 Thread Heiko Seeberger
Kiev,

 

OSGi will not allow you any non-OSGi class loading tricks.

 

Yes, you can have a fragment for the system bundle. These are called framework 
extension bundles.

In order to be found by Equinox this fragment has to be co-located with the 
system bundle and you have to register it by the system property

osgi.framework.extensions=

 

Heiko



Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Kiev Gama
Gesendet: Dienstag, 18. März 2008 06:57
An: Equinox development mailing list
Betreff: RE: AW: AW: [equinox-dev] Classloading problems running 
EquinoxweavedAspectJ

 

Thanks for the response.

I have tried to run in two different ways:

1 - If I put aspectJrt.jar in the classpath I get an explicit dependency error 
on the AJ classes
2 - Then, I've set the aspectJ\lib in the java.ext.dirs option and I've got the 
error that I sent.

I'll check on that other tip that you gave me.
Can I use fragment bundles with the bundle 0 (framework bundle) ?

Thanks again







Subject: AW: AW: [equinox-dev] Classloading problems running Equinox 
weavedAspectJ
Date: Tue, 18 Mar 2008 14:18:12 +0100
From: [EMAIL PROTECTED]
To: equinox-dev@eclipse.org

Kiev,

 

Thank you for the information provided.

 

As far as I understand you are weaving some aspects into Equinox (into the 
FrameworkLogEntry), right?

 

This will create dependencies from Equinox to your classes and possibly to 
AspectJ (for example when using around advices). These dependencies cannot be 
resolved, because in OSGi only dependencies declared in the bundle manifest are 
visible.

 

Maybe you could put your classes and the AspectJ runtime library into a 
framework extension fragment (look for details in the Eclipse Wiki).

Any comments on this?

 

Another solution could be to use Equinox Aspects and load-time weaving.

 

Heiko

 



Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Kiev Gama
Gesendet: Dienstag, 18. März 2008 05:53
An: Equinox development mailing list
Betreff: RE: AW: [equinox-dev] Classloading problems running Equinox 
weavedAspectJ

 

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. Get Windows Live-Free 
 

 



Don't get caught with egg on your face. Play chicktionary! 
 

___
equinox-dev mailing list
equinox-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/equinox-dev


RE: AW: AW: [equinox-dev] Classloading problems running Equinox weavedAspectJ

2008-03-18 Thread Kiev Gama
Thanks for the response.

I have tried to run in two different ways:

1 - If I put aspectJrt.jar in the classpath I get an explicit dependency error 
on the AJ classes
2 - Then, I've set the aspectJ\lib in the java.ext.dirs option and I've got the 
error that I sent.

I'll check on that other tip that you gave me.
Can I use fragment bundles with the bundle 0 (framework bundle) ?

Thanks again



Subject: AW: AW: [equinox-dev] Classloading problems running Equinox
weavedAspectJ
Date: Tue, 18 Mar 2008 14:18:12 +0100
From: [EMAIL PROTECTED]
To: equinox-dev@eclipse.org



















Kiev,

 

Thank you for the information
provided.

 

As far as I understand
you are weaving some aspects into Equinox (into the FrameworkLogEntry), right?

 

This will create
dependencies from Equinox to your classes and possibly to AspectJ (for example
when using around advices). These dependencies cannot be resolved, because in
OSGi only dependencies declared in the bundle manifest are visible.

 

Maybe you could put your
classes and the AspectJ runtime library into a framework extension fragment
(look for details in the Eclipse Wiki).

Any comments on this?

 

Another solution could be
to use Equinox Aspects and load-time weaving.

 

Heiko

 









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

Gesendet: Dienstag, 18. März 2008
05:53

An: Equinox development mailing
list

Betreff: RE: AW: [equinox-dev]
Classloading problems running Equinox weavedAspectJ



 

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. Get Windows Live—Free







_
Don't get caught with egg on your face. Play chicktionary!
http://club.live.com/chicktionary.aspx?icid=chick_wlhmtextlink1_feb___
equinox-dev mailing list
equinox-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/equinox-dev


AW: AW: [equinox-dev] Classloading problems running Equinox weavedAspectJ

2008-03-18 Thread Heiko Seeberger
Kiev,

 

Thank you for the information provided.

 

As far as I understand you are weaving some aspects into Equinox (into the 
FrameworkLogEntry), right?

 

This will create dependencies from Equinox to your classes and possibly to 
AspectJ (for example when using around advices). These dependencies cannot be 
resolved, because in OSGi only dependencies declared in the bundle manifest are 
visible.

 

Maybe you could put your classes and the AspectJ runtime library into a 
framework extension fragment (look for details in the Eclipse Wiki).

Any comments on this?

 

Another solution could be to use Equinox Aspects and load-time weaving.

 

Heiko

 



Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Kiev Gama
Gesendet: Dienstag, 18. März 2008 05:53
An: Equinox development mailing list
Betreff: RE: AW: [equinox-dev] Classloading problems running Equinox 
weavedAspectJ

 

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. Get Windows Live-Free 
 

___
equinox-dev mailing list
equinox-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/equinox-dev


[equinox-dev] Does equinox support extension:=bootclasspath

2008-03-18 Thread Alin Dreghiciu
Hi guys,

Does equinox support extension:=bootclasspath? I cannot find a clear
reference about the subject, only some mail archive back from 2006.
As I see the property "org.osgi.supports.bootclasspath.extension" is
not set (in 3.3.1), so it defaults to false = it does not support.

Thanx,
Alin Dreghiciu
___
equinox-dev mailing list
equinox-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/equinox-dev


[equinox-dev] Re: Does equinox support extension:=bootclasspath

2008-03-18 Thread Alin Dreghiciu
And related: If the answer is "no", is there a plan to supported in the future?

Thanx again,
Alin

On Tue, Mar 18, 2008 at 9:04 PM, Alin Dreghiciu <[EMAIL PROTECTED]> wrote:
> Hi guys,
>
>  Does equinox support extension:=bootclasspath? I cannot find a clear
>  reference about the subject, only some mail archive back from 2006.
>  As I see the property "org.osgi.supports.bootclasspath.extension" is
>  not set (in 3.3.1), so it defaults to false = it does not support.
>
>  Thanx,
>  Alin Dreghiciu
>
___
equinox-dev mailing list
equinox-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/equinox-dev


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

2008-03-18 Thread Kiev Gama
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


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

2008-03-18 Thread Heiko Seeberger
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 
 

___
equinox-dev mailing list
equinox-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/equinox-dev


Re: [equinox-dev] Using log4j with LogService

2008-03-18 Thread Alex Blewitt
On Tue, Mar 18, 2008 at 3:49 AM, Srijith Kochunni <[EMAIL PROTECTED]> wrote:
>
> Thanks for the quick reply. Yes I can use the LogReader Service and then
> direct it to log4j.

Have you looked at PAX logging?

http://wiki.ops4j.org/confluence/display/ops4j/Pax+Logging

That allows you to have an OSGi LogService implementation that picks
up messages and forwards them to the back-end logger of your choice,
including log4j. And because it exports logging packages, clients can
transparently use existing log4j logging code -> PAX logging -> log4j
at the back end.

Alex
___
equinox-dev mailing list
equinox-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/equinox-dev


[equinox-dev] Classloading problems running Equinox weaved AspectJ

2008-03-18 Thread Kiev Gama
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.
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