config
Use this command to create or update a configuration file.
Purpose
The config command is used to edit a configuration file from the command line. You can also edit the configuration file by using a text editor. If you are creating a configuration file, all parameters are required. If you are updating a configuration file, you specify only the parameters to change.Parameters
ram config -url library_server -u username -p password -c community_name -config configuration_file| Argument | Description | Required |
|---|---|---|
| (no argument supplied) | If you type ram config with no arguments, the current configuration information is displayed. | |
| -url library_server | The URL of the library server (the server running IBM® Rational® Asset Manager). | Yes, unless already specified in the configuration file |
| -u username | The ID to use when accessing the library server. | Yes, unless already specified in the configuration file |
| -p password | The password for the user ID. | Yes, unless already specified in the configuration file |
| -c community_name | The default community to use when accessing the library server. | Yes. A community must be specified to use the publish command and to create a snapshot package when using the get command. |
| -config configuration_file | The name of the configuration file. If you do not specify a configuration file, the configuration information is written to the .ram/ramconfig.properties file in the current user's home directory. | No |
ram config -url http://www.example.com/ram -u user1 -p password1 -c OldCommunity -config config.iniram config -c NewCommunity -config config.iniIn
this example, the default community is changed to NewCommunity in
the existing config.ini file.