Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Virgo » Virgo environment from inside the container
Virgo environment from inside the container [message #1017132] Sat, 09 March 2013 17:51 Go to next message
James Gartner is currently offline James GartnerFriend
Messages: 30
Registered: March 2012
Member
Folks,
we have Virgo containers on WINDOWS servers, and also Linux boxes, and even have more than one container on a given machine.

My question is this: I need to access one of the virgo directories (repository/usr) from a service running inside the container. I also may need to read what the OS is (or other environmental items). Is there an easy programmatic way to do that, or do I need to set up something in the startup scripts? How would be the best way to approach this?

Thanks!
Re: Virgo environment from inside the container [message #1037476 is a reply to message #1017132] Tue, 09 April 2013 15:48 Go to previous message
Glyn Normington is currently offline Glyn NormingtonFriend
Messages: 1222
Registered: July 2009
Senior Member
You could infer Windows vs Linux by testing the File path separator, although it's a hack.

Another approach would be to set system properties via the startup script. Note that the startup script already sets some of these, which may be of use.
Previous Topic:Karaf feature to pom and plans transformer
Next Topic:War not "Spring Powered" despite using lots of spring
Goto Forum:
  


Current Time: Thu Apr 25 14:03:00 GMT 2024

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

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

Back to the top