Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic DOORS (steve huntington)
Decrease font size
Increase font size
Topic Title: launch dxl script from java script
Topic Summary:
Created On: 18-May-2004 15:20
Status: Post and Reply
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
Quick Reply Quick Reply
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
 20-May-2004 21:43
User is offline View Users Profile Print this message


Pete Kowalski

Posts: 301
Joined: 7-Feb-2003

Hi Karsten,

In a nutshell, here is how to do it ...

- Write a Javascript that will call a perl script
- Perl script will automatically call up DOORS and run DXL script using DOORS batch commands

I know this isn't the detail you are looking for but I am currently starting to do something here on my side where users will be able to run DXL scripts that do not have a DOORS account.

Will keep you posted !!

-------------------------
pete.kowalski(at)motorola.com
Report this to a Moderator Report this to a Moderator
 21-May-2004 10:56
User is offline View Users Profile Print this message


Chun Ho

Posts: 6
Joined: 21-May-2004

You can launch DOORS scripts in batch mode with a command like:
doors.exe -b <script-file-to-run.dxl> -u <username-to-run-as> -P <password>

For launching the process using the above command from Java, you can refer to the Runtime class and its set of exec() methods.

Hope this helps

Regards,
chun.ho(at)motorola.com

Edited: 21-May-2004 at 10:57 by Chun Ho
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 0 users logged in.
The most users ever online was 15 on 15-Jan-2009 at 16:36.
There are currently 0 guests browsing this forum, which makes a total of 0 users using this forum.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.