Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Eclipse Communications Framework (ECF) » ASM Dependency
ASM Dependency [message #624213] Wed, 15 October 2008 14:47 Go to next message
Eric Bresie is currently offline Eric BresieFriend
Messages: 46
Registered: July 2009
Member
Hey guys,

I was investigating an issue that I thought to be related to the Ajax
Framework Toolkit (AFT) (see
http://www.eclipse.org/newsportal/article.php?id=633&gro up=eclipse.webtools.atf#633
) and saw a dependency error relating to ASM.

The short description is during attempts to install some new plugins, I
get the following:

Cannot find a solution satisfying the following requirements
Match[requiredCapability: org.eclipse.equinox.p2.iu/org.objectweb.asm/
[2.2.3,2.2.3]].

This made me think there was an ASM dependency issue of some type.
Looking around, I find that ECF also has an ASM dependency.

Can anyone provide any details on the usage of ASM in the context of ECF.
Maybe this will help on the AFT issue.

Thanks ahead of time.

Eric
Re: ASM Dependency [message #624214 is a reply to message #624213] Wed, 15 October 2008 15:12 Go to previous messageGo to next message
Scott Lewis is currently offline Scott LewisFriend
Messages: 1038
Registered: July 2009
Senior Member
Hi Eric,

Eric Bresie wrote:
> Hey guys,
> I was investigating an issue that I thought to be related to the Ajax
> Framework Toolkit (AFT) (see
> http://www.eclipse.org/newsportal/article.php?id=633&gro up=eclipse.webtools.atf#633
> ) and saw a dependency error relating to ASM.
>
> The short description is during attempts to install some new plugins, I
> get the following:
>
> Cannot find a solution satisfying the following requirements
> Match[requiredCapability: org.eclipse.equinox.p2.iu/org.objectweb.asm/
> [2.2.3,2.2.3]].
>
> This made me think there was an ASM dependency issue of some type.
> Looking around, I find that ECF also has an ASM dependency.
>
> Can anyone provide any details on the usage of ASM in the context of
> ECF. Maybe this will help on the AFT issue.


ASM is used by the r-OSGi provider. Specifically, I believe it's used
to dynamically create a proxy.

The dependency is expressed in the ch.ethz.iks.r_osgi.remote bundle
manifest, and looks like this:

Import-Package: org.objectweb.asm;version="3.0.0",

The objectweb bundle that we use and deploy is the one from the Orbit
project (version 3.0.0).

It looks to me from the above that these other plugins require/are
limited to an older version (2.2.3) of ASM. This is probably wrong (in
that they should be using or at least supporting in metadata a more
recent version of ASM)

Thanks,

Scott
Re: ASM Dependency [message #624220 is a reply to message #624214] Thu, 16 October 2008 13:31 Go to previous messageGo to next message
Eric Bresie is currently offline Eric BresieFriend
Messages: 46
Registered: July 2009
Member
Thanks for your help. This is very informative...Hope you don't mind a
follow up...

>> The short description is during attempts to install some new plugins, I
>> get the following:
>>
>> Cannot find a solution satisfying the following requirements
>> Match[requiredCapability: org.eclipse.equinox.p2.iu/org.objectweb.asm/
>> [2.2.3,2.2.3]].
>>
>> This made me think there was an ASM dependency issue of some type.
>> Looking around, I find that ECF also has an ASM dependency.
>>
>> Can anyone provide any details on the usage of ASM in the context of
>> ECF. Maybe this will help on the AFT issue.


> ASM is used by the r-OSGi provider. Specifically, I believe it's used
> to dynamically create a proxy.

> The dependency is expressed in the ch.ethz.iks.r_osgi.remote bundle
> manifest, and looks like this:

> Import-Package: org.objectweb.asm;version="3.0.0",

> The objectweb bundle that we use and deploy is the one from the Orbit
> project (version 3.0.0).

> It looks to me from the above that these other plugins require/are
> limited to an older version (2.2.3) of ASM. This is probably wrong (in
> that they should be using or at least supporting in metadata a more
> recent version of ASM)

How is the easiest way to determine what plugin has this dependency?

I found the "About Eclipse...Plugin Detail" helps a little bit, but I'm
not completely sure how the dependency (what plugin depends on this
plugin) for this can be determined.

Or is it safe to say based on the description above, this it is related to
the org.eclipse.equinox.p2.iu?

Eric
Re: ASM Dependency [message #624267 is a reply to message #624220] Thu, 16 October 2008 19:40 Go to previous message
Scott Lewis is currently offline Scott LewisFriend
Messages: 1038
Registered: July 2009
Senior Member
Hi Eric,

RE: how to find a specific dependency

In the PDE perspective, open the Plug-in Dependencies view.

Click on the 'Show State Status' icon to show the current state (i.e.
the runtime).

Then type in the filter the name of the org.objectweb bundle. The view
should then show you the bundle that is depending upon the objectweb bundle.

I don't why org.eclipse.equinox.p2.iu shows this dependency for you...in
the versions I'm using there doesn't seem to be any dep of
org.eclipse.equinox.p2.iu on org.objectweb.asm.

Scott

Eric Bresie wrote:
> Thanks for your help. This is very informative...Hope you don't mind a
> follow up...
>
>>> The short description is during attempts to install some new plugins,
>>> I get the following:
>>>
>>> Cannot find a solution satisfying the following requirements
>>> Match[requiredCapability: org.eclipse.equinox.p2.iu/org.objectweb.asm/
>>> [2.2.3,2.2.3]].
>>>
>>> This made me think there was an ASM dependency issue of some type.
>>> Looking around, I find that ECF also has an ASM dependency.
>>>
>>> Can anyone provide any details on the usage of ASM in the context of
>>> ECF. Maybe this will help on the AFT issue.
>
>
>> ASM is used by the r-OSGi provider. Specifically, I believe it's used
>> to dynamically create a proxy.
>
>> The dependency is expressed in the ch.ethz.iks.r_osgi.remote bundle
>> manifest, and looks like this:
>
>> Import-Package: org.objectweb.asm;version="3.0.0",
>
>> The objectweb bundle that we use and deploy is the one from the Orbit
>> project (version 3.0.0).
>
>> It looks to me from the above that these other plugins require/are
>> limited to an older version (2.2.3) of ASM. This is probably wrong
>> (in that they should be using or at least supporting in metadata a
>> more recent version of ASM)
>
> How is the easiest way to determine what plugin has this dependency?
>
> I found the "About Eclipse...Plugin Detail" helps a little bit, but I'm
> not completely sure how the dependency (what plugin depends on this
> plugin) for this can be determined.
>
> Or is it safe to say based on the description above, this it is related
> to the org.eclipse.equinox.p2.iu?
>
> Eric
>
Previous Topic:Container/Adapter creation problem
Next Topic:Reminder: ECF conference call 10/21/2008 7am pacific time
Goto Forum:
  


Current Time: Fri Apr 19 08:28:57 GMT 2024

Powered by FUDForum. Page generated in 0.02103 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top