The file javacloud.properties can be used to specify command-line argument values for different commands. The file is not passed on the command line. The location of the file is implicit to the tool.
You can place it in any of the following locations:
System.getProperty( "user.home" )
call in Java.
For example:
C:\Documents and Settings\<username>
/home/<username>
/Users/<username>
java -jar javacloud.jar ...
The keys are nothing but the argument names. You cannot specify argument
shortcuts here. Arguments of multiple commands can be specified
here. Unrecognized keys will be ignored.
The value specified is the value of the argument.
The keys can be specified in two forms:
identitydomain=mydomain.
This is applicable to all the commands that takes the argument identitydomain.
list-jobs.sorton=STATUS
,
where list-jobs
is a valid command name and sorton
is a valid
argument supported by the command. This is applicable only to the command specified.
The full form takes precedence over the simple form.
No - Password type arguments cannot be specified here. The value for a password type argument is never read from this file. Please do not specify password type arguments here.
The value of an argument is resolved in the following order:
File: javacloud.properties