I just realized that this is exactly the same bug that Lazar is addressing in:
Don't know why I didn't put that together in my mind earlier. Lazar, yep, you're on the critical path here. We're going to hold the 3.5.1 solution for this, and thanks very much for your efforts. Let me know what I can do to help.
On 2012-07-02, at 6:53 AM, Glyn Normington wrote:
There was considerable rework of the console/shell support between 2.1.1 and 3.5.0 in that we now use the Apache Gogo shell. But the set of Virgo subcommands are basically the same, although they now includes the class loading commands which IIRC used to be separate.
I think the main confusion is that there are base Equinox commands as well as Virgo shell (vsh) subcommands and some of these, like start, overlap. To avoid ambiguity and to drive the Virgo deployer rather than Equinox, you should use the vsh commands. You see the Virgo deployer does a lot of processing in addition to raw Equinox, including sending bundles through a deployment pipeline which, for example, transforms their manifests in various ways. Driving the deployer will give you consistency between the console commands and what the rest of the tooling does in driving the deployer via JMX.
On 2012-07-02, at 7:56 AM, Kirchev, Lazar wrote: Hi Miles, In 3.5.0 the vsh commands use the format vsh:<command_name> <subcommand> <parameters>, e.g. vsh:bundle start 123. In 2.1.1 the format used to be vsh bundle start 123. However, the on the console you can call also start 123 – but it will call another shell command, not the vsh’s one. It just happens that there is a start shell command. Regards, Lazar From: virgo-dev-bounces@xxxxxxxxxxx [mailto:virgo-dev-bounces@xxxxxxxxxxx] On Behalf Of Miles Parker Sent: Friday, June 29, 2012 11:14 PM To: Virgo Project Subject: [virgo-dev] Equinox Console Got it. I was clear on the two regions, but they layout wasn't clear to me. So I take it that repository/ext -> User and Configuration -> kernel. Now, on another question that I probably should have asked before now, has the equinox console syntax changed at some point, e.g. between 2.1.1 and 3.5.0? We're having trouble with the console interaction, which seems to be sending bare commands, e.g. "start 123" as opposed to "vsh:bundle start 123" and I'm not sure how htat would ever have worked. On 2012-06-28, at 5:52 PM, Glyn Normington wrote:
Good question! There are two instances of configuration admin in Virgo: one for the kernel and one for the user region. Think of a region as a partition of the bundles in a framework with controlled sharing between regions. osgi.console.properties occurs twice because there is a shell for each region. But the web integration layer occurs only in the user region. Hope that makes sense now. Glyn
From: "Miles Parker" <miles.parker@xxxxxxxxxxx> To: "Virgo Project" <virgo-dev@xxxxxxxxxxx> Sent: Thursday, 28 June, 2012 5:07:52 PM Subject: [virgo-dev] Properties file Question Why does osgi.console.properties appear in both configuration and repository/ext? And also, repository/ext contains org.eclipse.virgo.web.properties but that doesn't appear in configuration. (I ask because we're providing tooling that allows users to easily navigate to properties from the IDE. ______________________________ Senior Solutions Architect Committer, Eclipse Mylyn and Virgo Project Lead, Model Focussing Tools and AMP
______________________________ Senior Solutions Architect Committer, Eclipse Mylyn and Virgo Project Lead, Model Focussing Tools and AMP _______________________________________________ virgo-dev mailing list virgo-dev@xxxxxxxxxxxhttps://dev.eclipse.org/mailman/listinfo/virgo-dev
______________________________ Miles T. Parker Senior Solutions Architect Tasktop Committer, Eclipse Mylyn and Virgo Project Lead, Model Focussing Tools and AMP
|