Export WAS Application Server Settings. - Websphere

This is a discussion on Export WAS Application Server Settings. - Websphere ; When I tried to export WAS whole configuration repository using following command. "ws_ant –profileName AppSrv01 -buildfile exportImport.xml -logfile exportConfig.log -DexportDir=C:/temp exportConfigRepository", it always show error "BUILD FAILED Target `–profileName' does not exist in this project. " our system is WAS ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: Export WAS Application Server Settings.

  1. Export WAS Application Server Settings.

    When I tried to export WAS whole configuration repository using following command.

    "ws_ant –profileName AppSrv01 -buildfile exportImport.xml -logfile exportConfig.log -DexportDir=C:/temp exportConfigRepository", it always show error
    "BUILD FAILED
    Target `–profileName' does not exist in this project.
    "
    our system is WAS Express 6.1.0.3.

    Thanks.

    Simon

  2. Re: Export WAS Application Server Settings.

    I had a similar issue but it was because of a special character before the profileName key word. It should be just hyphen (-) .. not dot (.) or any other special character. Try to type whole command letter by letter or if you have to copy from somewhere .. first copy into notepad and then copy & paste into the command window.

+ Reply to Thread