Index Changes
Return To Previous Page

create-jbi-application-variable

Create application variables for the specified component. Application variables are set using the following format name=[type]value. If the type is not specified, the default type "String" will be used. The valid types are "String", "Number", "Boolean" and "Password".

OperandOperand DescriptionRequired
(name=[type]value)[,name=[type]value]* | filepath Contains name=value pairs separated by a comma, or a name of a file that contains the name=[type]value pairs for the application variables that will be updated. (i.e. properties file). If the operand contains spaces or contains the square brackets specifying the type, the operand must be in cased within double quotes.Yes

OptionValueOption DescriptionRequired Option
--echo | -e true | false If true the command specified on the command line will be echoed to system output. No
--interactive| -I true | false If set to true (default), only the required password options are prompted. No
--terse | -t true | false If true, the output will be reduced to the minimal amount. No
--port | -p port number The HTTP/S port for administration. Default port for PE: 4848, default port for EE: 4849 No
--secure | -s true | false If set to true, uses SSL/TLS to communicate with the domain administration server. No
--host | -H localhost The machine name where the JBI application is running. The default value is localhost. No
--user | -u admin user The authorized domain administration server administrative username. Yes
--passwordfile filename The name of a file containing the password entries. Yes
--component component nameThe name of the component where the application variable will be created.Yes
--target target name | 'server' The name of the target to install the component on. See Target Option Behavior for more information. No
--help-Displays the help text for the command.No

Examples

Example 1:

create-jbi-application-variable --component=cli-config-binding FirstName=[String]Fred,LastName=Smith,t=[BOOLEAN]true,f=[BOOLEAN]false
Command create-jbi-application-variable executed successfully.


Example 2:

create-jbi-application-variable --component=cli-config-binding some-property-file.properties
Command create-jbi-application-variable executed successfully.

JSPWiki v2.4.100
[RSS]
« Home Index Changes Prefs
This page (revision-12) was last changed on 14-Feb-08 14:51 PM, -0800 by Mark Saunders