You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "John E. Conlon" <jc...@verticon.com> on 2006/11/13 19:01:23 UTC

netty 2, Mina, & OSGi

Am working on an integration-osgi project for mina. It's simply a
pom.xml that wraps classes from mina into a OSGi jar/bundle. 

While analyzing the created bundle I noticed a problem where there were
unresolved references to a deprecated package [org.apache.mina.protocol]
by classes within transient dependent jars. 

One of the jars I was wrapping was the mina-filter-codec-netty-1.1.0-
SNAPSHOT.jar. While I have not looked at the net.gleamynode source code
the analysis tool is showing that these references are coming from a
transient dep and its package net.gleamynode.netty2.mina.

One way to solve the problem is to just not wrap the  mina-filter-codec-
netty-1.1.0-SNAPSHOT.jar. 

Is this an acceptable solution?

thanks for the feedback, I hope to commit this project to my sandbox
latter today.

John


On Tue, 2006-11-07 at 15:10 +0900, Trustin Lee wrote:
> On 11/7/06, Mark Webb <el...@gmail.com> wrote:
> >
> > 2 questions
> >
> > 1. I read on different sites/forums that Netty2 is/being deprecated.
> > If this is the case, I wonder why it is still part of Mina.  I have
> > only read the history of Netty and have not been involved with its
> > development, so I hope I am not offending people by asking this.
> 
> 
> Netty is not a part of MINA.  MINA just provides a bridge for Netty codecs.
> That's all.
> 
> 2.  If it will remain a necessary library requirement for Mina, where
> > can I download Netty from?
> 
> 
> You don't need to download it if you have any existing Netty codec.   It's
> absolutely optional.
> 
> Trustin


Re: netty 2, Mina, & OSGi

Posted by Trustin Lee <tr...@gmail.com>.
Hi John,

Sorry for the late response.

On 11/14/06, John E. Conlon <jc...@verticon.com> wrote:
>
> Am working on an integration-osgi project for mina. It's simply a
> pom.xml that wraps classes from mina into a OSGi jar/bundle.
>
> While analyzing the created bundle I noticed a problem where there were
> unresolved references to a deprecated package [org.apache.mina.protocol]
> by classes within transient dependent jars.
>
> One of the jars I was wrapping was the mina-filter-codec-netty-1.1.0-
> SNAPSHOT.jar. While I have not looked at the net.gleamynode source code
> the analysis tool is showing that these references are coming from a
> transient dep and its package net.gleamynode.netty2.mina.
>
> One way to solve the problem is to just not wrap the  mina-filter-codec-
> netty-1.1.0-SNAPSHOT.jar.
>
> Is this an acceptable solution?


Yep.  Netty is a very old, deprecated framework, so you can just ignore it
for OSGi integration.

thanks for the feedback, I hope to commit this project to my sandbox
> latter today.


Great.  Thanks!

Trustin
-- 
what we call human nature is actually human habit
--
http://gleamynode.net/
--
PGP key fingerprints:
* E167 E6AF E73A CBCE EE41  4A29 544D DE48 FE95 4E7E
* B693 628E 6047 4F8F CFA4  455E 1C62 A7DC 0255 ECA6