diff options
author | Omair Majid <[email protected]> | 2010-12-20 09:26:16 -0500 |
---|---|---|
committer | Omair Majid <[email protected]> | 2010-12-20 09:26:16 -0500 |
commit | 3c92b8a089bdbe50943c1fdfcc8eee46f2948054 (patch) | |
tree | 03fa8ca4911d45b5873f98ce6de972c4663ef07d /netx/net/sourceforge/jnlp/resources | |
parent | ef9a3f269781353eaf8b2cfb74a68b5f33265ad7 (diff) |
add command line interface to the control panel
2010-12-20 Omair Majid <[email protected]>
* Makefile.am
($(NETX_DIR)/launcher/controlpanel/%.o): Set program name, and launch
net.sourceforge.jnlp.controlpanel.CommandLine.
* netx/net/sourceforge/jnlp/config/Defaults.java
(getDefaults): Set descriptions to Unknown rather than the name.
Set source to localized form of internal.
* netx/net/sourceforge/jnlp/config/DeploymentConfiguration.java
(getProperty): Check for nulls.
(setProperty): Add unknown as description and source for new
properties.
(checkAndFixConfiguration): Fix translation constants.
(parsePropertiesFile): Use unknown as description.
* netx/net/sourceforge/jnlp/controlpanel/CommandLine.java: New file
(CommandLine): New method.
(handleHelpCommand): Likewise.
(printListHelp): Likewise.
(handleListCommand): Likewise.
(printGetHelp): Likewise.
(handleGetCommand): Likewise.
(printSetHelp): Likewise.
(handleSetCommand): Likewise.
(printResetHelp): Likewise.
(handleResetCommand): Likewise.
(printInfoHelp): Likewise.
(handleInfoCommand): Likewise.
(printCheckHelp): Likewise.
(handleCheckCommand): Likewise.
(handle): Likewise.
(main): Likewise.
* netx/net/sourceforge/jnlp/resources/Messages.properties: Add
Usage, Unknown, RConfigurationFatal, DCIncorrectValue,
DCSourceInternal, DCUnknownSettingWithName, VVPossibleValues,
CLNoInfo, CLValue, CLValueSource, CLDescription, CLUnknownCommand
CLUnknownProperty, CLNoIssuesFound, CLIncorrectValue,
CLListDescription, CLGetDescription, CLSetDescription,
CLResetDescription, CLInfoDescription, CLCheckDescription and
CLHelpDescription. Remove DCErrorInSetting and
DCUnknownSettingWithVal.
Diffstat (limited to 'netx/net/sourceforge/jnlp/resources')
-rw-r--r-- | netx/net/sourceforge/jnlp/resources/Messages.properties | 26 |
1 files changed, 24 insertions, 2 deletions
diff --git a/netx/net/sourceforge/jnlp/resources/Messages.properties b/netx/net/sourceforge/jnlp/resources/Messages.properties index bd021af..2c376ff 100644 --- a/netx/net/sourceforge/jnlp/resources/Messages.properties +++ b/netx/net/sourceforge/jnlp/resources/Messages.properties @@ -14,12 +14,14 @@ ButProceed=Proceed ButRun=Run
AFileOnTheMachine=a file on the machine
AlwaysAllowAction=Always allow this action
+Usage=Usage:
Continue=Do you want to continue?
Field=Field
From=From
Name=Name
Publisher=Publisher
+Unknown=<Unknown>
Value=Value
Version=Version
@@ -136,6 +138,7 @@ RNoLockDir=Unable to create locks directory ({0}) RNestedJarExtration=Unable to extract nested jar.
RUnexpected=Unexpected {0} at {1}
RConfigurationError=Fatal error while reading the configuration
+RConfigurationFatal=ERROR: a fatal error has occurred while loading configuration. Perhaps a global configuration was required but could not be found
# Boot options, message should be shorter than this ---------------->
BOUsage=javaws [-run-options] <jnlp file>
@@ -234,11 +237,13 @@ KSJsseCaCerts=Trusted JSSE Root CA Certificates, KSClientCerts=Client Authentication Certificates
# Deployment Configuration messages
-DCErrorInSetting=Error: setting "{0}" has incorrect value "{1}". Using the default value "{2}" instead. Possible values {3}.
+DCIncorrectValue=Property "{0}" has incorrect value "{1}". Possible values {2}.
DCInternal=Internal error: {0}
-DCUnknownSettingWithVal=Unknown setting "{0}"
+DCSourceInternal=<internal> +DCUnknownSettingWithName=Property "{0}" is unknown.
# Value Validator messages. Messages should follow "Possible values ..."
+VVPossibleValues=Possible values {0}
VVPossibleBooleanValues=are {0} or {1}
VVPossibleFileValues=include the absolute location of a file - it must begin with a /
VVPossibleRangedIntegerValues=are in range {0} to {1} (inclusive)
@@ -371,5 +376,22 @@ TIFPRestoreDefaults=Restore defaults # Control Panel - Misc. CPJRESupport=IcedTea-Web currently does not support the use of multiple JREs. +# command line control panel
+CLNoInfo=No information avaiable (is this a valid option?).
+CLValue=Value: {0}
+CLValueSource=Source: {0}
+CLDescription=Description: {0}
+CLUnknownCommand=Unknown command {0}
+CLUnknownProperty=Unknown property-name "{0}"
+CLNoIssuesFound=No issues found.
+CLIncorrectValue=Property "{0}" has incorrect value "{1}". Possible values {2}.
+CLListDescription=Shows a list of all property names and values that are in use by IcedTea-Web
+CLGetDescription=Shows the value for property-name
+CLSetDescription=Sets the property-name to value if possible. The value is checked for being valid. If the administrator has locked the property, this will have no effect
+CLResetDescription=Resets the value for property-name to it\'s default value
+CLInfoDescription=Shows more information about the given property
+CLCheckDescription=Shows any properties that have been defined but are not recognized by IcedTea Web
+CLHelpDescription=The itweb-settings tool allows a user to modify, view and check configuration. \nTo use the GUI, do not pass any arguments. To use the CLI mode, pass in the approrpiate command and parameters. For help with a particular command, try: {0} command help
+ # Buttons ButApply=Apply |