Import existing installed packages in Installation Manager using the imcl command

We can use the import command to add existing packages that were installed with installation tools other than Installation Manager. By importing these packages, we can use Installation Manager to manage the packages.

The import command is used only with IBM WebSphere Application Server products.

Procedure

  1. Open a command-line utility.

  2. Open the tools directory.

  3. Run the import command:
    imcl import 
    	-installationDirectory installation_directory 
    	-repositories source_repository  
    	[ -eclipseLocation eclipe_directory ] 
    	[ -sharedResourcesDirectory shared_directory ] 
    	[ -properties key_1=value_1a,,value_1b ]
    	[ -preferences preference_key=value ]
    	[ -secureStorageFile storage_file -masterPasswordFile master_password_file | -keyring keyring_file [ -password password ]  ]
    The -keyring and -password options that are used to store credentials to a key ring file are deprecated. Use the -secureStorageFile and -masterPasswordFile options to store credentials to a credential file. For more information, see Migrate from key ring files to storage files. Enclose file paths that include spaces with double quotation marks.


Example

Operating system Command
Windows imcl.exe import -installationDirectory "C:\Program Files\IBM\WebSphere\AppServer" -repositories C:\was_import_repository\repository.config
UNIX ./imcl import -installationDirectory installation_dir/IBM/WebSphere/AppServer -repositories /was_import_repository/repository.config

Home