The recent new dependencies at netty ..
Wesly smith
weslysmith0 at gmail.com
Sat Jan 10 13:06:47 EST 2009
More info. here:
generate the netty-3.1.0.ALPHA3-SNAPSHOT.jar by:
================================================
check out the source first.
/tmp/netty-src-rev653>svn info
Path: .
URL: http://anonsvn.jboss.org/repos/netty/trunk
Repository Root: http://anonsvn.jboss.org/repos/netty
Repository UUID: 109acb31-e253-0410-afc7-b0fd4c62c465
Revision: 653
Node Kind: directory
Schedule: normal
Last Changed Author: trustin
Last Changed Rev: 653
Last Changed Date: 2009-01-07 06:56:11 -0600 (Wed, 07 Jan 2009)
/tmp/netty-src-rev653> mvn clean install #generate the
netty-3.1.0.ALPHA3-SNAPSHOT.jar. I used it in the osgi framwork as below.
For the old jar file (with rev 560), it had no problem.
on org.osgi.framework(1.3.0).
===============================
osgi> ss
...
35 INSTALLED org.jboss.netty_3.1.0.ALPHA3-SNAPSHOT
36 INSTALLED com.acme.test.http_1.0.0
...
osgi> start 36
org.osgi.framework.BundleException: The bundle could not be resolved.
Reason: Missing Constraint: Require-Bundle: org.jboss.netty;
bundle-version="3.1.0"
at
org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:294)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:256)
at
org.eclipse.osgi.framework.internal.core.FrameworkCommandProvider._start(FrameworkCommandProvider.java:239)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
org.eclipse.osgi.framework.internal.core.FrameworkCommandInterpreter.execute(FrameworkCommandInterpreter.java:145)
at
org.eclipse.osgi.framework.internal.core.FrameworkConsole.docommand(FrameworkConsole.java:293)
at
org.eclipse.osgi.framework.internal.core.FrameworkConsole.console(FrameworkConsole.java:278)
at
org.eclipse.osgi.framework.internal.core.FrameworkConsole.run(FrameworkConsole.java:213)
at java.lang.Thread.run(Unknown Source)
osgi> start 35
org.osgi.framework.BundleException: The bundle could not be resolved.
Reason: Missing Constraint: Import-Package: com.google.protobuf;
version="0.0.0"
at
org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:294)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:256)
at
org.eclipse.osgi.framework.internal.core.FrameworkCommandProvider._start(FrameworkCommandProvider.java:239)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
org.eclipse.osgi.framework.internal.core.FrameworkCommandInterpreter.execute(FrameworkCommandInterpreter.java:145)
at
org.eclipse.osgi.framework.internal.core.FrameworkConsole.docommand(FrameworkConsole.java:293)
at
org.eclipse.osgi.framework.internal.core.FrameworkConsole.console(FrameworkConsole.java:278)
at
org.eclipse.osgi.framework.internal.core.FrameworkConsole.run(FrameworkConsole.java:213)
at java.lang.Thread.run(Unknown Source)
Trustin Lee-3 wrote:
>
> 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/
>
--
View this message in context: http://n2.nabble.com/The-recent-new-dependencies-at-netty-..-tp2135677p2138591.html
Sent from the Netty User Group mailing list archive at Nabble.com.
More information about the netty-users
mailing list