The recent new dependencies at netty ..

Trustin Lee trustin at gleamynode.net
Sat Jan 10 02:31:12 EST 2009


What OSGi framework are you using?  It would be great if you can
provide me reproducible steps if the problem exists after svn-up.

— Trustin Lee, http://gleamynode.net/



On Sat, Jan 10, 2009 at 2:08 PM, Wesly smith <weslysmith0 at gmail.com> wrote:
>
> Thanks, Trustin,
> The way I did for generating the netty-3.1.0.ALPHA3-SNAPSHOT.jar is:
>
>  1) on my Linux box, I checked out the netty source code from svn.
>  2) using maven to Build packages (JARs) for the core API and other
> extensions and install them to the local Maven repository:
> /tmp_proj/netty-src-rev653>lsCOPYRIGHT.txt  license  LICENSE.txt  NOTICE.txt
>  pom.xml  src
> /tmp_proj/netty-src-rev653>mvn clean install
> ...
> ...
>
> When the install is done, the netty-3.1.0.ALPHA3-SNAPSHOT.jar is generated
> at the target directory.
> Later I used this jar file as a Required plug-ins in my package, when my
> package starts up, I got the unsatisfied dependencies problem.
>
> I saw the org.jboss.netty.handler.codec.protobuf package and its related
> tests seems the one causing problem.
>
> I will check the newer svn later.
>
> Thanks for your help.
>
> On Fri, Jan 9, 2009 at 8:28 PM, Trustin Lee-3 (via Nabble) <
> ml-user+162222-1244104362 at n2.nabble.com<ml-user%2B162222-1244104362 at n2.nabble.com>
>> wrote:
>
>> Hi Wesly,
>>
>> They are all optional dependencies.  If you take a look into the
>> MANIFEST.MF, you will find all external packages are marked as
>> 'optional'.  I confirmed that netty.jar is installed and started
>> without any external dependencies in Eclipse Equinox.
>>
>> So, those dependencies are required only when you build Netty.  They
>> are not required at all when you just include netty.jar in the
>> classpath.  Please let me know if you encounter a problem due to
>> unsatisfied dependencies in runtime or compile time - if so, that's a
>> bug in packaging.
>>
>> HTH,
>> Trustin
>>
>> — Trustin Lee, http://gleamynode.net/
>>
>>
>>
>> On Sat, Jan 10, 2009 at 7:37 AM, Wesly smith <weslysmith0 at ...<http://n2.nabble.com/user/SendEmail.jtp?type=node&node=2136433&i=0>>
>> wrote:
>> >
>> > Hello,
>> >
>> > I updated the netty jar to revision 653, and noticed that now it depends
>> on
>> > some external packages, such as: "com.google.protobuf" etc while it was
>> not
>> > there before, such as at revision 560.
>> >
>> > As netty claimed that "No additional dependencies but JDK 1.5 (or
>> above)", I
>> > just wonder whether there is any way to build/run my code (using netty
>> jar)
>> > without these dependencies in osgi framework, such as tweaking the osgi
>> > manifest etc?
>> >
>> > Thanks a million.
>> > --
>> > View this message in context:
>> http://n2.nabble.com/The-recent-new-dependencies-at-netty-..-tp2135677p2135677.html
>> > Sent from the Netty User Group mailing list archive at Nabble.com.
>> >
>> > _______________________________________________
>> > netty-users mailing list
>> > netty-users at ...<http://n2.nabble.com/user/SendEmail.jtp?type=node&node=2136433&i=1>
>> > https://lists.jboss.org/mailman/listinfo/netty-users
>> >
>> >
>>
>> _______________________________________________
>> netty-users mailing list
>> netty-users at ...<http://n2.nabble.com/user/SendEmail.jtp?type=node&node=2136433&i=2>
>> https://lists.jboss.org/mailman/listinfo/netty-users
>>
>>
>> ------------------------------
>>  This email is a reply to your post @
>> http://n2.nabble.com/The-recent-new-dependencies-at-netty-..-tp2135677p2136433.html
>> You can reply by email or by visting the link above.
>>
>>
>
> --
> View this message in context: http://n2.nabble.com/The-recent-new-dependencies-at-netty-..-tp2135677p2136734.html
> Sent from the Netty User Group mailing list archive at Nabble.com.
>
>
> _______________________________________________
> netty-users mailing list
> netty-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/netty-users
>
>




More information about the netty-users mailing list