It seems the new coercion mechanism is a bit flawed:

g! headers (bundles)
gogo: IllegalArgumentException: Cannot coerce
headers[[org.apache.felix.framework [0], org.apache.felix.bundlerepository
[1], org.apache.felix.gogo.command [2], org.apache.felix.gogo.runtime [3],
org.apache.felix.gogo.shell [4]]] to any of [(Bundle[])]

That should work without problems. The coercer needs to be enhacned with the
following code:

http://svn.apache.org/repos/asf/felix/trunk/gogo/commands/src/main/java/org/apache/felix/gogo/commands/converter/DefaultConverter.java

On Thu, May 27, 2010 at 20:49, Richard S. Hall <[email protected]> wrote:

> So, we are gearing up to release the 3.0 version of the framework. As part
> of this release, we're going to include Gogo as the default shell in the
> framework binary distribution. Gogo requires Java 5 or later, but don't
> worry, the framework still targets lesser JREs. :-)
>
> I've uploaded a snapshot of the distribution in tar.gz and zip if anyone
> wants to play with it:
>
>
> https://repository.apache.org/content/groups/snapshots-group/org/apache/felix/org.apache.felix.main.distribution/2.1.0-SNAPSHOT/
>
> Word of warning, the "ps" command has been renamed to "lb" (i.e., list
> bundles)...type "help" to see available commands.
>
> -> richard
>



-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/
------------------------
Open Source SOA
http://fusesource.com

Reply via email to