Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » Problems with equinox console in 4.2M4
Problems with equinox console in 4.2M4 [message #776066] Sat, 07 January 2012 10:46 Go to next message
Cristiano Gavião is currently offline Cristiano GaviãoFriend
Messages: 279
Registered: July 2009
Senior Member
Hi,

I'm trying to use my equinox application with 4.2M4 but I can't use my console commands.

When I call help, I can see this:


osgi> help
equinox:jbStatus
equinox:jbRunStoriesWithAnnotatedEmbedder
equinox:confapply
equinox:comp
equinox:component


The compatibility component add my command at equinox group.

When I try to call it I receive this error:


osgi> equinox:jbRunStoriesWithAnnotatedEmbedder TraderAnnotatedEmbedder
gogo: IllegalArgumentException: Cannot find the command method for: _jbrunstorieswithannotatedembedder

osgi> jbRunStoriesWithAnnotatedEmbedder TraderAnnotatedEmbedder
gogo: IllegalArgumentException: Cannot find the command method for: _jbrunstorieswithannotatedembedder


can someone tell me what I need to do to make my commands to work with juno ?

thanks and regards

ps: I did the same question here, but Tom suggested me to ask here at Equinox Forum.
Re: Problems with equinox console in 4.2M4 [message #777008 is a reply to message #776066] Mon, 09 January 2012 16:34 Go to previous messageGo to next message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

You need to at least add the org.apache.felix.gogo.* bundles to your application to get full access to the console. In my default Eclipse SDK 4.2 M4 I have:

org.apache.felix.gogo.command_0.8.0.v201108120515.jar
org.apache.felix.gogo.runtime_0.8.0.v201108120515.jar
org.apache.felix.gogo.shell_0.8.0.v201110170705.jar

Then maybe there's a new equinox console command contribution?

PW


Re: Problems with equinox console in 4.2M4 [message #777031 is a reply to message #777008] Mon, 09 January 2012 17:26 Go to previous messageGo to next message
Cristiano Gavião is currently offline Cristiano GaviãoFriend
Messages: 279
Registered: July 2009
Senior Member
Hi Paul,

I already add those new dependencies.

Before have added them I couldn't start the console...

I can see all gogo commands... but my problem, as I tried to describe before, is that I can't use my old command bundle.

My old command doesn't have the group... now when I type help, I see them:

equinox:jbStatus
equinox:jbRunStoriesWithAnnotatedEmbedder


But I can't use it...

So I can't use my equinox app at 4.2M4.

I'm looking for an example that help me to convert my command bundle to the new one, so I can test my equinox application with Juno.

cheers

Cristiano
Re: Problems with equinox console in 4.2M4 [message #805507 is a reply to message #777031] Thu, 23 February 2012 21:09 Go to previous messageGo to next message
miguel angel is currently offline miguel angelFriend
Messages: 1
Registered: February 2012
Junior Member
I have the same problem, all the commands that contains uppercase characters doesn't work with the new console.

This problem also affects to the commands of declarative services.
Re: Problems with equinox console in 4.2M4 [message #806944 is a reply to message #776066] Sat, 25 February 2012 19:09 Go to previous messageGo to next message
Gunnar Wagenknecht is currently offline Gunnar WagenknechtFriend
Messages: 486
Registered: July 2009
Location: San Francisco ✈ Germany
Senior Member

Am 07.01.2012 11:46, schrieb Cristiano avi:
> can someone tell me what I need to do to make my commands to work with juno ?

Can you please open a bug against Equinox? The new console should still
support all the existing commands. It looks like you found a bug
regarding case-sensivity.

-Gunnar

--
Gunnar Wagenknecht
gunnar@wagenknecht.org
http://wagenknecht.org/
Re: Problems with equinox console in 4.2M4 [message #856738 is a reply to message #806944] Wed, 25 April 2012 23:58 Go to previous messageGo to next message
Sebastien Angers is currently offline Sebastien AngersFriend
Messages: 2
Registered: July 2009
Junior Member
See Bug 377708 + proposed patch.

Regards,
Sebastien
Re: Problems with equinox console in 4.2M4 [message #894767 is a reply to message #776066] Tue, 10 July 2012 12:52 Go to previous message
Kees Pieters is currently offline Kees PietersFriend
Messages: 24
Registered: July 2009
Junior Member
I've had the same problem running equinox 3.8 as target with a JUNO IDE. It was fixed by including the felix gogo plugins in the debug configuration (see http://www.eclipse.org/equinox/incubator/console/design-doc.php) and then adding the VM arguments:

-Dosgi.console.enable.builtin=true

apparently you have to activate the old-fashioned commands, instead that they are deactivated by the VM argument

Previous Topic:Prevent Bundle from being loaded
Next Topic:Issue with Non OSGi eclipse bundles
Goto Forum:
  


Current Time: Fri Apr 19 20:55:26 GMT 2024

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

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

Back to the top