![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: Command Line Batch files Running dxl Topic Summary: Created On: 12-May-2007 21:04 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
Hi All
I have a problem ! I run a lot of dxl scripts in batch mode from the command line. These batch files I schedule to run using Windows scheduler. I have come up against an issue now, in that I have a script that I want to run in the same way as above, but it needs DOORS to be open, as it relies on a Module VIEW. So I need to have the batch file running on its own, send the username and password as usual, open DOORS interactively, and run the dxl, and close DOORS. When I deselect the -b batch file option in the command line parameters, it tells me the username and password are not correct, even though they are still specified. Can anyone tell me if what I need to do is possible please? Many thanks Lisa |
|
![]() |
|
![]() |
|
Hi Lisa,
this is only a guess, but you could try to set the desired view as default view for the batch running user. Then at least the filter of this view should be set ?! Another option would be to have a visible Doors session open and run the script via DXL-server (or OLE) in this open session. Greetings Reik ------------------------- Evosoft GmbH for Siemens Industry Sector Berlin, Germany |
|
![]() |
|
![]() |
|
Thanks Reik very much for your response.
I did however manage to crack it in the end. "c:\Program Files\telelogic\DOORS 7.1\bin\Doors.exe" -u "Carver, Lisa" -P "password" -D "#include <c:\Test_Progression_v3.dxl>" -data 36677@c123456 the above syntax works for me now, and I have an exit command in my script which closes DOORS afterwards. Thank you again. |
|
![]() |
|
![]() |
|
You should not need the -data switch unless you are redirecting to a secondary database.
I'd be tempted to put the DOORS exit command in the command line and not in the DXL itself. -D "#include <c:\Test_Progression.dxl>; exit_()". That way your DXL will work both interactively and batch. Alternatively, the DXL could have this at the bottom: if (batchMode) exit_(). - Louie |
|
![]() |
|
![]() |
|
Hi Louie
Thanks for your response. I will take your advice onboard, thank you. Lisa |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
Command Line Batch files Running dxl
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.