run DXL script on the background (command line) : DXL/DOORS

后端 未结 1 1225
别那么骄傲
别那么骄傲 2021-01-26 04:28

I am trying to start a dxl script with command line. But i am getting lots of warnings and errors.

When I try this script on doors gui , it works fine but when i try on

相关标签:
1条回答
  • 2021-01-26 04:47

    There are other settings you need to run in Batch mode (pulled from the DOORS help):

    Runs Rational DOORS in batch mode. Rational DOORS starts without the GUI (it suppresses the login screen and the database explorer), runs the specified DXL program, and then stops.
    In batch mode you normally need other switches like -user, -password and -project to log in and specify the current project.
    
    The parameter of the -batch switch specifies the file that contains the DXL program that you want to run in batch mode.
    

    You probably need a current project specified. Also you may need to add a command at the end of your script to exit DOORS if you don't want the session to stay open.

    The errors that you list seem like regular DXL errors, so if you need more assistance than this, you will need to post some of the code.

    EDIT:

    If you put all of the files into one does it run? Another option may be to include the Addins path on your command line. I believe the issue is that the batch mode is not recognizing the included files as part of the same scope.

    0 讨论(0)
提交回复
热议问题