Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Scout » [neon] How to specify different config.properties file when starting client
[neon] How to specify different config.properties file when starting client [message #1752059] Wed, 18 January 2017 12:17 Go to next message
Urs Beeli is currently offline Urs BeeliFriend
Messages: 573
Registered: October 2012
Location: Bern, Switzerland
Senior Member
In order to be able to start our client with different configurations we have more than one config.properties file (obviously with different names).

How do I specify which file should be loaded by the client? The technical guide mentions that the recommended (and hence default) value is "config.properties" but it does not explain how to supply a differently named properties file on startup.
Re: [neon] How to specify different config.properties file when starting client [message #1752060 is a reply to message #1752059] Wed, 18 January 2017 12:23 Go to previous messageGo to next message
Arthur van Dorp is currently offline Arthur van DorpFriend
Messages: 48
Registered: October 2015
Member
You should be able to set the system property "config.properties" to a URL pointing your specific config.properties-file. See the ConfigUtility.java and PropertiesHelper.java for more code details.
Re: [neon] How to specify different config.properties file when starting client [message #1752149 is a reply to message #1752060] Thu, 19 January 2017 09:26 Go to previous message
Urs Beeli is currently offline Urs BeeliFriend
Messages: 573
Registered: October 2012
Location: Bern, Switzerland
Senior Member
That works perfectly, thank you!
Previous Topic:[neon] Questions about AbstractPage
Next Topic:[neon] Replacing proxied beans and service tunnel in Stubbed Client
Goto Forum:
  


Current Time: Thu Apr 25 13:28:04 GMT 2024

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

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

Back to the top