[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [virgo-dev] Equinox Console

On 29 Jun 2012, at 21:13, Miles Parker wrote:


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.

Correct.


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.


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-06-28, at 5:52 PM, Glyn Normington wrote:

Hi Miles

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.

Regards,
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.

cheers,

Miles

______________________________
Miles T. Parker
Senior Solutions Architect
Tasktop
Committer, Eclipse Mylyn and Virgo
Project Lead, Model Focussing Tools and AMP
skype: milestravisparker





_______________________________________________
virgo-dev mailing list
virgo-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/virgo-dev

_______________________________________________
virgo-dev mailing list
virgo-dev@xxxxxxxxxxx
https://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
skype: milestravisparker




_______________________________________________
virgo-dev mailing list
virgo-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/virgo-dev