Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Riena/System Properties"

m (Riena System Properties)
 
(21 intermediate revisions by 6 users not shown)
Line 1: Line 1:
== Riena System Properties ==
+
== Riena System Properties ==
There are few system properties that control Riena's behavior in production, development, testing, etc. This page collects them and explains them shortly.
+
  
{| border="1" cellspacing="0"
+
There are few system properties that control Riena's behavior in production, development, testing, etc. This page collects them and explains them shortly.
|+ System Properties
+
 
! property name !!  type !! default value !! affects !! description
+
{| cellspacing="0" border="1"
 +
|+ System Properties  
 
|-
 
|-
| riena.development || boolean || true || Logging || if true (default) and no logging has been configured, logging will produce output to System.out/err
+
! property name
 +
! type
 +
! default value
 +
! affects
 +
! description
 
|-
 
|-
| riena.loglevel || String || "warn" || Logging || Log level settings for the org.eclipse.riena.core.logging.SystemPropertyLogFilter, possible values: "debug", "info", "warn", "error" and "none"
+
| riena.development
 +
| boolean
 +
| true
 +
| Logging  
 +
| if true (default) and no logging has been configured, logging will produce output to System.out/err
 
|-
 
|-
| riena.manualproxies || String|| null || Communication || allows to set manual internet proxy settings. See also: org.eclipse.riena.communication.core.proxyselector.ManualProxySelector
+
| riena.loglevel
 +
| String  
 +
| "warn"
 +
| Logging
 +
| Log level settings for the org.eclipse.riena.core.logging.SystemPropertyLogFilter, possible values: "debug", "info", "warn", "error" and "none"
 
|-
 
|-
| org.eclipse.equinox.http.jetty.http.port || int|| null || Communication || Gets the jetty http port
+
| riena.manualproxies
 +
| String
 +
| null
 +
| Communication
 +
| allows to set manual internet proxy settings. See also: org.eclipse.riena.communication.core.proxyselector.ManualProxySelector
 
|-
 
|-
| riena.container.type || String|| null|| Core || This system property may be used to tell Riena bundles (who needs that!) whether they are running on the server or the client. This value is usually retrieved automatically. Possible values are: "server" and "client"
+
| org.eclipse.equinox.http.jetty.http.port
 +
| int
 +
| null  
 +
| Communication
 +
| Gets the jetty http port
 
|-
 
|-
| riena.application.width || int || 800 || UI || defines the initial width of the application window
+
| riena.container.type
 +
| String
 +
| null
 +
| Core,Security
 +
| This system property may be used to tell Riena bundles (i.e. Security) whether they are running on the server or the client. This value is usually retrieved automatically. Sometimes it can go wrong and then you need to set it manually. Possible values are: "server" and "client"
 
|-
 
|-
| riena.application.height || int || 600 || UI || defines the initial height of the application window
+
| riena.application.width
 +
| int  
 +
| 800
 +
| UI  
 +
| defines the initial width of the application window
 
|-
 
|-
| riena.secure.webservices || boolean || false || security || if true allows unauthenticated web service requests
+
| riena.application.height
 +
| int
 +
| 600
 +
| UI
 +
| defines the initial height of the application window
 
|-
 
|-
| riean.testing || boolean || false || UI testing || bla bla
+
| riena.application.minimum.width
 +
| int
 +
| 800
 +
| UI  
 +
| defines the minimal width of the application window
 
|-
 
|-
| riena.testing.widgetid.mainshell || String || "default" || UI testing || bla bla
+
| riena.application.minimum.height
 +
| int
 +
| 600
 +
| UI
 +
| defines the minimal height of the application window
 +
|-
 +
| HIDE_DISABLED_RIDGET_CONTENT
 +
| boolean
 +
| true
 +
| UI
 +
| controls whether disabled ridget do hide their content
 +
|-
 +
| riena.lnf
 +
| String  
 +
| null
 +
| UI
 +
| Allows custom setting of the applications look and feel. For more information see org.eclipse.riena.ui.swt.lnf.LnfManager.
 +
|-
 +
| riena.lnf.setting.''LnfKey''
 +
| String
 +
| see RienaDefaultTheme
 +
| UI
 +
| Overwrites settings of the look and feel. Replace ''LnfKey'' with the name of the Look&Feel key: see org.eclipse.riena.ui.swt.lnf.LnfKeyConstants.
 +
|-
 +
| riena.lnf.update.view
 +
| boolean
 +
| false
 +
| UI
 +
| If true the Look&Feel settings are also applied for the widgets of the view. This is not a default behaviour because the settings only works for some properties of the SWT Widgets and also depends on the operations system.
 +
|-
 +
| riena.control.stats
 +
| boolean
 +
| false
 +
| UI  
 +
| If true the creation of widgets will be monitored, i.e. all currently 'live' widgets and can be queried with the console command 'controlstats'.
 +
|-
 +
| riena.secure.webservices
 +
| boolean
 +
| true
 +
| Security
 +
| if false allows unauthenticated web service requests - Server property
 +
|-
 +
| riena.testing  
 +
| boolean
 +
| false
 +
| UI testing
 +
| '''docu needed here'''
 +
|-
 +
| riena.sonar.menu.visible
 +
| boolean
 +
| false
 +
| Sonar example
 +
| Enables/Disables [http://wiki.eclipse.org/Riena/Sonar Sonar] menu
 +
|-
 +
| riena.textridget.directwriting
 +
| boolean
 +
| false
 +
| Ridgets
 +
| enables directwriting for all TextRidgets
 +
|-
 +
| riena.prepare.view
 +
| boolean
 +
| false
 +
| UI, navigation
 +
| enables also the creation of the view when the controller of a sub-module is prepared
 
|}
 
|}
 +
 +
 +
  
  
 
[[Category:Riena]]
 
[[Category:Riena]]

Latest revision as of 10:29, 21 December 2011

Riena System Properties

There are few system properties that control Riena's behavior in production, development, testing, etc. This page collects them and explains them shortly.

System Properties
property name type default value affects description
riena.development boolean true Logging if true (default) and no logging has been configured, logging will produce output to System.out/err
riena.loglevel String "warn" Logging Log level settings for the org.eclipse.riena.core.logging.SystemPropertyLogFilter, possible values: "debug", "info", "warn", "error" and "none"
riena.manualproxies String null Communication allows to set manual internet proxy settings. See also: org.eclipse.riena.communication.core.proxyselector.ManualProxySelector
org.eclipse.equinox.http.jetty.http.port int null Communication Gets the jetty http port
riena.container.type String null Core,Security This system property may be used to tell Riena bundles (i.e. Security) whether they are running on the server or the client. This value is usually retrieved automatically. Sometimes it can go wrong and then you need to set it manually. Possible values are: "server" and "client"
riena.application.width int 800 UI defines the initial width of the application window
riena.application.height int 600 UI defines the initial height of the application window
riena.application.minimum.width int 800 UI defines the minimal width of the application window
riena.application.minimum.height int 600 UI defines the minimal height of the application window
HIDE_DISABLED_RIDGET_CONTENT boolean true UI controls whether disabled ridget do hide their content
riena.lnf String null UI Allows custom setting of the applications look and feel. For more information see org.eclipse.riena.ui.swt.lnf.LnfManager.
riena.lnf.setting.LnfKey String see RienaDefaultTheme UI Overwrites settings of the look and feel. Replace LnfKey with the name of the Look&Feel key: see org.eclipse.riena.ui.swt.lnf.LnfKeyConstants.
riena.lnf.update.view boolean false UI If true the Look&Feel settings are also applied for the widgets of the view. This is not a default behaviour because the settings only works for some properties of the SWT Widgets and also depends on the operations system.
riena.control.stats boolean false UI If true the creation of widgets will be monitored, i.e. all currently 'live' widgets and can be queried with the console command 'controlstats'.
riena.secure.webservices boolean true Security if false allows unauthenticated web service requests - Server property
riena.testing boolean false UI testing docu needed here
riena.sonar.menu.visible boolean false Sonar example Enables/Disables Sonar menu
riena.textridget.directwriting boolean false Ridgets enables directwriting for all TextRidgets
riena.prepare.view boolean false UI, navigation enables also the creation of the view when the controller of a sub-module is prepared

Back to the top