The following example uses the syntax for doing escapes in a Unix shell. Changes to the original configuration file (myoriginal.jti
in this example) are written to a new configuration file (my-newconfig.jti
in this example).
In the following example, myoriginal.jti
represents a configuration file name that might exist on your system. Win32 users must also replace the \ file separators with / to run these examples.
To change a value in the command line, use the tag-name for the question that sets the value. See Obtaining the Question tag-name for detailed information about viewing the tag-name for the question.
java -cp
[jt_dir/lib/
]
javatest.jar com.sun.javatest.EditJTI -o
my-newconfig.jti tck.serialport.midPort=/dev/term/a
tck.connection.httpsCert="\"CN=<:Somebody>, OU=<People>, O=<Organisation>, L=<Location>, ST=<State>,
C=US\""
myoriginal.jti